Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


out-of-memory-error based on timer after switching to V6


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-17-2008, 10:13 AM
Junior Member
 
Join Date: Sep 2007
Posts: 16
Default out-of-memory-error based on timer after switching to V6

Hi,
I have a (quite complex) GPS program that needs a timer and reads out GPS-data periodically. It is based on the GPS4PPC-demo.
However, after switching to Basic4PPC V6 (and introducing the new serial lib), I run out of memory on my device right away.
I am not sure if this is really due to the V6-switch or some other changes I introduced, but maybe the new and faster executable is a problem?

I'd be happy for any comments on this. Attached the the source code, but be warned: it is really quite big and needs better documentation.

BTW, I intend to publish this program as open source here as soon as it is running fine.

Thanks,
Frank
Attached Files
File Type: zip GPS sources.zip (194.5 KB, 7 views)
__________________
----------------------------
Frank
(with XDA Orbit)
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 10:25 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,778
Default

There is an issue with HTC3300 and .Net CF 2.0 Serial class (which is the base of Serial2 library).
See this thread: GPS - outofmemoryexception since WM6
It includes a possible solution.
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 03:26 PM
Junior Member
 
Join Date: Sep 2007
Posts: 16
Default Serial.dll

Erel,
this seems to be the problem, as you say.
I've gone back to the old serial.dll, and all seems to be fine.
Maybe I stay there, although I cannot use "Optimized compilation" now...

The described solution doesn't work for me.



Thanks,
Frank
__________________
----------------------------
Frank
(with XDA Orbit)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
cTicksPerDay: optimised compilation error with timer LineCutter Bug Reports 2 04-21-2008 06:15 PM
TCP/IP Based Network traffic (Like WinSock) TARQ Questions & Help Needed 5 03-27-2008 04:05 PM
Out of Memory Exception Error on Load willisgt Questions & Help Needed 9 03-01-2008 11:18 AM
Reactivate the CF GPS after switching on Scubaticus Questions & Help Needed 6 10-25-2007 07:00 PM
Out of Memory error while loading bitmap HARRY Questions & Help Needed 3 05-15-2007 12:12 PM


All times are GMT. The time now is 11:33 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0