There was talk about this some months back on this list. An article
about mem leaks was mentioned too.
http://www.fifthgate.org/articles/palm_mem_leaks.html
[EMAIL PROTECTED] wrote:
Hi,
i am allocating a large ammount of memory in my application.
will it be de-allocated automatically when i
Subject: Palm Debug console in CW6 crashes Win98
From: [EMAIL PROTECTED]
Date: Sat, 14 Oct 2000 20:36:13 +0800
I'm trying to squelch a memory leak in my app. POSE would
complain that I have a possible leak at 0xblah, and recommends
using 'hd 0' to find it.
So, I open up the debug console within
Is it possible to create the log file on the device for to check the memory
leak or we can say the on device debugging is possible or not ..
I want to check the memory leak on the device rather than on the emulator .Bcz
in my code i m working with socket notification so
and it is not possible
after line MemHandleFree(fldHnd); try adding
FldSetTextHandle((FieldPtr)FrmGetObjectPtr(frmPtr,
objectIndex),NULL);
On 1/10/07, Ron [EMAIL PROTECTED] wrote:
LionScribe thank you for your reply. I have tried to do as you say but I get a
SysFatalAlert as follows:
---
TestGen
Thank you for your reply Dmitry. It got rid of the non-word-align error, but I
am getting a different error:
--
TestGen (unknown version) called SysFatalAlert with the message: MemoryMgr.c,
Line:4384, Free handle.
--
Thanks
--
For information on using the PalmSource
Didn't test, but that may be from freeing the locked handle from a non-editable
field.
By the way, why do you check for objectIndex, you already have the index.
LionScribe
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see
Greetings all,
In my program I create textboxes dynamically, when I turn the page I have to
remove them. For this I use FrmRemoveObject(). However I get memory leaks when
closing the application if I type anything any textbox and turn the the page. I
figured it has something to do with
Palm OS Reference states: FrmRemoveObject does not free memory allocated to a
string in an editable field.
Therefore you will first have to call FldGetTextHandle if a valid handle is
returned call MemHandleFree on all fields.
In addition I suggest removing all objects in reverse, thus lomiting
Don't know what's happening, but Yanoff is adding all crazy symbols to my
previous post. So please forgive.
LionScribe
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
LionScribe thank you for your reply. I have tried to do as you say but I get a
SysFatalAlert as follows:
---
TestGen (unknown version) called SysFatalAlert with the message: MemoryMgr.c,
Line:4372, Non-word-aligned handle.
---
Here is the code:
Hi,
Calling this after the DmSetDatabaseInfo fixes the problem:
while (SysNotifyBroadcast(NULL) == errNone)
;
best regards
guich
www.superwaba.org
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see
HiDmitry,
Ahhm can you provide a simple code?
best regards
guich
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
SysAppInfoPtr appInfoP,unusedAppInfoP;
SysAppInfoPtr mai=SysGetAppInfo(unusedAppInfoP, appInfoP);
mai-memOwnerID++;
...
Call Dm Calls...
...
MemHeapFreeByOwnerID(0,mai-memOwnerID--);
i would GUESS this would work in 68k as well...
On 1/2/07, Guilherme C. Hazan [EMAIL PROTECTED] wrote:
Same here on my Treo 650.
Every call to DmCreateDatabase and DmSetDatabaseInfo (even if you don't
change anything) causes a 120 byte leak.
If you do it in a loop, you get a leak for each call.
Wonder if it is a NVFS issue?
Nothing to do about it, just code accordingly.
LionScribe
--
For
Hi,
Same here on my Treo 650.
Every call to DmCreateDatabase and DmSetDatabaseInfo (even if you don't
change anything) causes a 120 byte leak.
If you do it in a loop, you get a leak for each call.
Yep.
Wonder if it is a NVFS issue?
Surely not, since it uses Dm (data manager), and TT
simple solution: set memory owner to a higher value then currentin the
appInfo struct, then call the Dm* then call MemHeapFreeByOwnerID()
On 1/1/07, Guilherme C. Hazan [EMAIL PROTECTED] wrote:
Hi,
Same here on my Treo 650.
Every call to DmCreateDatabase and DmSetDatabaseInfo (even if you
Hi,
I'm trying to figure why the code below produces a memory leak:
static Int32 getFreeMem()
{
UInt32 maxP,freeBytesP; // [EMAIL PROTECTED]
MemHeapFreeBytes (0, freeBytesP, maxP);
return (Int32)freeBytesP;
}
DWord PilotMain(Word cmd, Ptr cmdline, Word launchFlags)
{
if (cmd
Guilherme C. Hazan wrote:
Hi,
I'm trying to figure why the code below produces a memory
leak:
[... snip ...]
1. If you run your code in a loop, does it leak memory on each iteration, or is
it a one-time thing?
2. Is setting the database attributes relevant? Why are you manually
Thank you
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Greetings all,
I am very new to Palm OS programming. I am required to work on a project that
requires the use of dynamic UI, so I am working through this slowly.
My first test at doing a new form causes a memory leak. I am not sure where the
prblem lies.
Here is the code:
-
UInt32
Just a note:
return 0 should be return 0;
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Recheck the documentation for the function you are using to create
the form--specifically the Returns section.
You should also check the result before you assume you can pass it on
to FrmDrawForm.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see
waylander . db wrote:
Greetings all,
I am very new to Palm OS programming. I am required to work on a
project that requires the use of dynamic UI, so I am working
through this slowly.
My first test at doing a new form causes a memory leak. I am not
sure where the prblem lies.
Here
Hi, list!
I have a little problem, with my program...
I develop it with gcc on my Linux-PC and test it with POSE.
I can start it and use it, without warning or error, but when I exit from this
application, POSE say:
Found X memory leak for SMS Pro (1.00). Information
concerning the leak can
I had the same problem.
In MyFormHandleEvent, this code doesn't cause any leak:
...
case frmCloseEvent:
// Some operations such save variables, or other things...
SaveMyVariables();
// Free memory for the form
frmP = FrmGetActiveForm();
FrmEraseForm(frmP);
Luca Bertoncello wrote:
Hi, list!
I have a little problem, with my program...
I develop it with gcc on my Linux-PC and test it with POSE.
I can start it and use it, without warning or error, but when I exit from this
application, POSE say:
Found X memory leak for SMS Pro (1.00). Information
Thanks a lot cbruner
It is done and working very well
Regards,
Micky
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of cbruner
Sent: Thursday, July 27, 2006 11:45 PM
To: Palm Developer Forum
Subject: Re: Memory Leak
Helmut A. Bender wrote:
Am Donnerstag
At 04:16 AM 7/28/2006, you wrote:
Subject: Re: Memory Leak
From: cbruner [EMAIL PROTECTED]
Date: Thu, 27 Jul 2006 14:15:22 -0400
X-Message-Number: 11
Helmut A. Bender wrote:
Am Donnerstag, 27. Juli 2006 15:40 schrieb Micky MeNeZeS:
I have got following code.
[...]
It seems you don't
Hi
I have got following code.
#include xml.h
#define bufferSize = 2048
void SendDefaultPage(int fp)
{
MemHandle h;
Err errno;
UInt16 i=0;
h = MemHandleNew
(bufferSize);
StartElement(h, Contact, errno);
for (i=0; i1000; i++)
{
StartElement(h,
Item,
errno);
Am Donnerstag, 27. Juli 2006 15:40 schrieb Micky MeNeZeS:
I have got following code.
[...]
It seems you don't initialize the buffer you create. So the check in
StringCopy
if (StrLen(aBuffer) == 0)
won't work, since StrLen will get a random value. Set the first byte of the
buffer to
Helmut A. Bender wrote:
Am Donnerstag, 27. Juli 2006 15:40 schrieb Micky MeNeZeS:
I have got following code.
[...]
It seems you don't initialize the buffer you create. So the check in
StringCopy
if (StrLen(aBuffer) == 0)
won't work, since StrLen will get a random
Is it possible to develop an application which will exactly work as a simulator
also catch memory leaks (for 68K and ARM) and other bugs.
Thanks
John
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
the current public version will not. but if there is interest, i can
make a version to do that.
On 6/13/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Thanks for the reply, but now I want to know whether UDMH will pin point where
the leaks are, just like in IBM's Rational Purify for Windows.
Dmitry Grinberg schrieb:
the current public version will not. but if there is interest, i can
make a version to do that.
Yes, of course. Especially for exisiting apps it would be a good way to
check if and where memory leaks are. Since the Simulator does not report
that as good as the
but! this will NOT run on the simulator. only a real device with an
arm processor.
On 6/14/06, Thomas Damme [EMAIL PROTECTED] wrote:
Dmitry Grinberg schrieb:
the current public version will not. but if there is interest, i can
make a version to do that.
Yes, of course. Especially for
Hi All,
I would like to know whether there is any commercial memory leak detection tool
for Palm OS 5 and above. Awaiting a speedy response.
Thanks in advance
John
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support
memory leak detection tool
for Palm OS 5 and above. Awaiting a speedy response.
Thanks in advance
John
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
Best Regards, Dmitry Grinberg
Software Engineer, http
Thanks for the reply, but now I want to know whether UDMH will pin point where
the leaks are, just like in IBM's Rational Purify for Windows. This is because
I know that my application is leaking lots of memory and so now I want to know
from where.
Thanks
John
--
For information on using
At 04:15 AM 5/28/2006, you wrote:
Subject: Re: Memory Leak
From: Carlos Gonzalez [EMAIL PROTECTED]
Date: Sat, 27 May 2006 18:31:44 -
X-Message-Number: 10
Thanks everyone for all your inputs. Here is the final code that
works fine with no more memory leak. Thanks againn everyone.
textH
Carlos, Try using with FldSetTextPtr/FldGetTextPtr as per your requirement instead of usingFldSetTextHandle. Then there won't be any memory leaks.Regards, HarshaCarlos Gonzalez [EMAIL PROTECTED] wrote: Eduardo,Here is part of my code and it is the only place where I use MemHandleLock and
At 04:16 AM 5/27/2006, you wrote:
Subject: RE: Memory Leak
From: Stefan Mohr [EMAIL PROTECTED]
Date: Fri, 26 May 2006 11:33:23 -0700
X-Message-Number: 22
You can try debugging your code using the Simulator and keep an eye on
the dynamically allocated variables, but you may find there's actually
At 04:16 AM 5/27/2006, you wrote:
Subject: Re: Memory Leak
From: Carlos Gonzalez [EMAIL PROTECTED]
Date: Fri, 26 May 2006 20:05:45 -
Here is part of my code and it is the only place where I use
MemHandleLock and unlock.. that is it.
Boolean CalculateRisk()
{
ControlType* ctl;
Boolean
Thanks everyone for all your inputs. Here is the final code that works fine
with no more memory leak. Thanks againn everyone.
textH = FldGetTextHandle(GetObjectPtr(MainFieldRisk));
if (!textH)
{
textH = MemHandleNew(8);
}
str = MemHandleLock(textH);
doubleToStr(str, PI, 2);
MemHandleUnlock(textH
Hello everyone,
I geting an error message when I click on the application icon of the emulator
after I ran my application, error that reads that there is a memory leak. How
can I detect this errror and correct it.
Thanks,
Carlos
--
For information on using the PalmSource Developer Forums
appear to exist - it may have something to do with the way
the emulator itself shuts down.
-Original Message-
From: Carlos Gonzalez [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 11:28 AM
To: Palm Developer Forum
Subject: Memory Leak
Hello everyone,
I geting an error message when I
thanks, the problem is that my debuger fails when try to launch, this started
happening just today... I have no idea why.
Also when I run my application in my palm, it gives me this error:
MemoryMgr.C, Line 4384, Free Handle .
Carlos
--
For information on using the PalmSource Developer Forums,
Forum
Subject: Memory Leak
Hello everyone,
I geting an error message when I click on the application icon of the
emulator after I ran my application, error that reads that there is a
memory leak. How can I detect this errror and correct it.
Thanks,
Carlos
--
For information on using the PalmSource
Carlos.
Could you try to debug this a little more, so can help you better. This
could be generated by a lot of different things, i.e. for overFreeing a
memory chunk, or an iexisten one, or you could be trying to free a MemHandle
used to store the result of DmNewRecord() after calling
Eduardo,
Here is part of my code and it is the only place where I use MemHandleLock and
unlock.. that is it.
Boolean CalculateRisk()
{
ControlType* ctl;
Boolean handled = true;
MemHandle textH;
char*str;
double PI;
...
PI += -1.236215274 - 2.598564382 - 2.119863737 +
Carlos.
You should first call MemHandleNew(size) where size should be big enougth to
store the result of doubleToStr(), this may be also the problem of the
memory leak you talked before, because you had a handle that point to a
random address of memory that is not allocated for your use
with a
specific data entry screen function. By this method, you can, perhaps,
directly identify the buggy code.
There is more in prior threads regarding this memory leak problem and how to
debug it. I must admit the methods suggested were of no use to me in
practical terms as they seemed
Eduardo thanks, this is my original code but, still giving me the same error..
It alway gives the erro when I run it twice the function... the second time
gives me this error:.. MemoryMgr.c, Line 4384, Free Handle...
...
PI += -1.236215274 - 2.598564382 - 2.119863737 ;
PI = exp(PI);
PI = (1.0
, you can, perhaps,
directly identify the buggy code.
There is more in prior threads regarding this memory leak problem and how to
debug it. I must admit the methods suggested were of no use to me in
practical terms as they seemed to indicate the need to connect hexadecimal
memory addresses
Subject: Re: Memory Leak
Eduardo thanks, this is my original code but, still giving me the same
error.. It alway gives the erro when I run it twice the function... the
second time gives me this error:.. MemoryMgr.c, Line 4384, Free Handle...
...
PI += -1.236215274 - 2.598564382 - 2.119863737 ;
PI = exp
Carlos.
Here's the big deal, textH should exist as long as your text field so textH
has to be a global or an arg to pass to your functions, so I'm guessing that
you run this funtion on frmOpenEvent or on ctlSelectEvent (i.e. button tap),
so you have to deal with it when you get an appStopEvent
Hi All,
I am running an application which is tested on valgrind in linux to be free of
memory leak.
I reviewed the code, and found all the MemPtrNew memories are freed and all the
new objects are deleted.
But in palm while running my application, the heap memory is constantly
decreasing
I have xyz.prc in my external SD card under /PALM/Launcher. The app launches,
runs and exits ok, but I noticed a slight memory leak each time the application
opens and exits. The app doesn't not have any mem leak at all when running in
Palm's internal memory. It only happens when it's
Logan Shaw wrote:
Luc Le Blanc wrote:
During a lengthy drawing operation, I allow the user to abort this
drawing tapping on the screen. I detect this action with an occasional
check to EvtSysEventAvail( true ). When I detect this, I ask user
confirmation with a FrmAlert. Alas, POSE reports 2
During a lengthy drawing operation, I allow the user to abort this
drawing tapping on the screen. I detect this action with an occasional
check to EvtSysEventAvail( true ). When I detect this, I ask user
confirmation with a FrmAlert. Alas, POSE reports 2 memory leaks under OS
3.5 or 4.1. The
Luc Le Blanc wrote:
During a lengthy drawing operation, I allow the user to abort this
drawing tapping on the screen. I detect this action with an occasional
check to EvtSysEventAvail( true ). When I detect this, I ask user
confirmation with a FrmAlert. Alas, POSE reports 2 memory leaks under
I find myself facing one, last memory leak indicated by the emulator to be tied
to a record creation function within a database. Of course, if this is merely
a matter of the emulator identifying that I am allocating memory to a couple of
records and not releasing it back to the system
Should Read:
I find myself facing one, last, memory leak indicated by the emulator to
be tied to a database record creation function. Of course, if this is
merely a matter of the emulator identifying that I am allocating memory to a
couple of records and not releasing it back to the system
Hi Logan,
Build a version of your app with debug symbols
How to do that in codewarrior ?
--cp
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
in project settings switch off optimalizations and inlines, and switch on
'generate a6 stack frames' and 'generate macsbug debug symbols'
with this you will have much better possibilities to debug
cp wrote:
Hi Logan,
Build a version of your app with debug symbols
How to do that in
yep, I have seen this before. Are you doing FrmEraseForm and FrmDeleteForm
before switching to the new form?
This is how I implement form transitions in general:
--
fP = FrmGetActiveForm();
if ( fP ) {
FrmEraseForm( fP );
FrmDeleteForm( fP );
}
FrmGotoForm( formID
Hi, I'm detecting a mem leak of exactly 432 bytes each time I go from one of my
forms A to another form B and then back to A. It looks like that form B is
leaking the 432 bytes of memory but I have commented out almost all the code
except for the line UInt16 currentForm = someFormID; and the
Hi,
i m new to PODS can u tell me any way how to Find the Memory Leak problem
With PODs
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Jeetu schrieb:
Hi,
i m new to PODS can u tell me any way how to Find the Memory Leak problem
With PODs
PalmOS Emulator will tell you if your program leaks memory. Run it in
Emulator and leave your program, then Emulator will tell you if your
program didn't free any memory chunks.
Jürgen
Jeetu wrote:
i m new to PODS can u tell me any way how to Find the Memory Leak problem
With PODs
If you can run your program under the Emulator (NOT the simulator!!!),
the Emulator will detect memory leaks when the application exits.
If you look in the Emulator's log file, it will show
Thanx for ur Kind attention,
Here is what i m exactly doing,
I want to fill my ListBox with some values from DB,
so i have created a dynamic array that will contain the values as per the no.
of records in DB.Then i m inserting each of those values from array inside the
ListBox.
Initially my
Thanx for ur Kind attention,
Here is what i m exactly doing,
I want to fill my ListBox with some values from DB,
so i have created a dynamic array that will contain the values as per the no.
of records in DB.Then i m inserting each of those values from array inside the
ListBox.
Initially my
this.
0.000: WARNING:
0.020: WARNING: Memory Leaks
0.020: WARNING:
0.020: WARNING: Begin Memory Leak
I get this problem each time I exit my application 'Relocatable chunk leaked at'
this happens at 'SysAppExit'.
please help me in over comming this.
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Free all heap memories before exiting
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of vamshi
Sent: Monday, July 25, 2005 7:13 PM
To: Palm Developer Forum
Subject: Memory leak problem
I get this problem each time I exit my application 'Relocatable chunk
If you allocate memory, you have to deallocate it before you leave your app.
--
Scott Erickson
Software Engineer, FB-4, Inc.
[EMAIL PROTECTED]
vamshi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
I get this problem each time I exit my application 'Relocatable chunk
leaked at'
:
0.020: WARNING: Begin Memory Leak Dump
0.020: WARNING:
0.060: Relocatable chunk leaked at 0x25FC, size = 4
0.060: Chunk allocated by:
0.060: AllocateLines
0.060: FldSetText
0.060: InitTextItem
0.060
Looks like you aren't deallocating the current pointer in the field
when you assign a new handle to it.
Adam
On Jul 25, 2005, at 10:39 PM, vamshi wrote:
hi,
I get 'Relocatable chunk leaked at' after my application exit from
PilotMain,
The log file shows that the leak happened at a
Jeff Ondich wrote:
Many OS 4 devices only had 256K for the dynamic heap -- the larger
dynamic heap sizes didn't really start appearing until Palm OS 5. If
you need that much storage, it might be worth only supporting OS 5 and
later.
Is there a way to test for the available heap size?
Henk Jonas wrote:
Jeff Ondich wrote:
Yes, POSE gives me the memory leak error during exectuion. While
waiting for a computation that usually takes a second or two, I get this:
Found 1855 memory leaks for [my application]. Information
concerning the leaks can be found in the log file
Maybe you app is exting at this moment. Question is just why...
because when you use new and there is no free memory it just exits your
application. i fought a lot with this...
to fix it you must override new operator so it won't cause exception but return
NULL instead (or catch the
Michal--that's a good idea, and I have now played quite a bit with the
new operator today. But I'm having trouble with operator new[] and
delete[]. I have found lots of advice on-line on how to override new
and delete, but I haven't found any samples of how to override new[] and
delete[]
At 06:22 PM 7/19/2005, you wrote:
Michal--that's a good idea, and I have now played quite a bit with the new
operator today. But I'm having trouble with operator new[] and
delete[]. I have found lots of advice on-line on how to override new and
delete, but I haven't found any samples of how
Ben Combee wrote:
Many OS 4 devices only had 256K for the dynamic heap -- the larger
dynamic heap sizes didn't really start appearing until Palm OS 5. If
you need that much storage, it might be worth only supporting OS 5 and
later.
Thanks, Ben. That's what I need to know.
--
For
Many OS 4 devices only had 256K for the dynamic heap -- the larger
dynamic heap sizes didn't really start appearing until Palm OS 5. If
you need that much storage, it might be worth only supporting OS 5 and
later.
Is there a way to test for the available heap size?
--
For information on
leaks are not, in fact,
leaking in the usual sense--that is, there are deletes for every new. The code
in question passes through other memory leak testers (e.g. Visual C++) without
problem.
My guess is that there are limits of some kind as to the number of active
memory allocations you can have
--that is, there are deletes for every new. The code in
question passes through other memory leak testers (e.g. Visual C++)
without problem.
My guess is that there are limits of some kind as to the number of
active memory allocations you can have on OS 4, and that I'm
exceeding them. It's true that my code, intended
Thanks, Jerome. I always assume these things are my own fault, but this
one has me confused. It's claiming I have a memory leak before the
objects in question even go out of scope, right in the middle of
allocating some other object. It may be that I'm clobbering a pointer
and POSE is smart
One thing I don't understant... POSE reports memory leaks after your
application has terminated (before going back to the launcher). Are you
saying you get the memory leak message -during- your application execution?
Jerome
Jeff Ondich wrote:
Thanks, Jerome. I always assume these things
Yes, POSE gives me the memory leak error during exectuion. While
waiting for a computation that usually takes a second or two, I get this:
Found 1855 memory leaks for [my application]. Information
concerning the leaks can be found in the log file.
And indeed, the log file shows lots
Jeff Ondich wrote:
Yes, POSE gives me the memory leak error during exectuion. While
waiting for a computation that usually takes a second or two, I get this:
Found 1855 memory leaks for [my application]. Information concerning
the leaks can be found in the log file.
And indeed, the log
I'm using CodeWarrior 9 and PalmOs Emulator and when I exit my program
the emulator warn me of a memory leak. I used to solve this commenting
functions or reading my code but I never understood well what was the
information that the emulator was giving me about the memory leak.
Now, I'm having
Your classical approach is good, to read your code and comment out portions to
narrow down the failure. That's what I would do first.
However, failing that, I might try printing out a line to a log file every time
I allocated memory, giving the address, and every time I freed memory, again
Salvador Buendia wrote:
I'm using CodeWarrior 9 and PalmOs Emulator and when I exit my program
the emulator warn me of a memory leak. I used to solve this commenting
functions or reading my code but I never understood well what was the
information that the emulator was giving me about the memory
Roel Wijmans [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I seem to be having a memory leak when running a database of a
memory card. The emulator doesn't pick it up though. All is running
fine if the database runs of the device, but as soon as i run it of
the memory card, it i
I seem to be having a memory leak when running a database of a memory card. The
emulator doesn't pick it up though. All is running fine if the database runs of
the device, but as soon as i run it of the memory card, it i start loosing
memory. I can't figure out what i'm doing wrong.. I'm
Hi Ralph,
I haven't really tested that. But I don't think I should use
NetLibClose(libRefNum, true) because there could be other networking
applications running.
Another extreme stress testing is that if I create a loop of 1000 times
around the NetLibSocketOpen() and NetLibSocketClose(),
Hi,
I've found the following codes will cause a 1KB memory leak (Dynamic RAM
Heap) on a real Treo 650 device (GSM unlocked version).
The codes simply opens the NetLib, creates a socket, closes the socket
and then closes the NetLib. However, every time the codes are run, it
reduces the free
Tony Yat-Tung Cheung [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I've found the following codes will cause a 1KB memory leak (Dynamic
RAM
Heap) on a real Treo 650 device (GSM unlocked version).
The codes simply opens the NetLib, creates a socket, closes the
socket
with the T3 and
Treo 600 with no such problem. I also tested the application on the Palm
Emulator (OS 4.0) with no memory leak detected.
I am also testing it on a real Treo 650 device using GPRS connection. I
also found that when I close the GPRS connection, all those lost heap
memories (1KB each
Drew Haninger [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
here's the whole function, just notice the code that is commented...
ot_FntDefineFontreplaces FntDefineFont
(ot stands for OliveTree)
1 - 100 of 347 matches
Mail list logo