Re: Memory leaks & finding objects of a particular size

2008-05-28 Thread Steve Achelis
Create a map file: Project Settings, Linker, 68K Linker, Generate Link Map. This creates a *.map file in your project folder. Open the file and look for the "data" entries. This shows every variable and its size. The main problem with this approach is if you have a pointer that you new() 16 byte

Re: Memory leaks

2006-07-04 Thread mail4johnv
Is it possible what is explained here http://news.palmos.com/read/messages?id=42853 Thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory leaks

2006-07-04 Thread Dmitry Grinberg
why would there be. it is the same as if you call them form 68k. you push the args onto the 68k stack, then call pace, which gets the trap handler (which is in arm) and it gets params off 68k stack and does its thing, returns a value in 68k"s a0 or d0, pace returns that value to you, and returns 6

Re: Memory Leaks Log with Simulator and CW

2006-06-09 Thread Dean Gahlon
On Fri, 9 Jun 2006, Greg wrote: > Michal, > > Thank you for your reply. > > What is your favorite ROM to use with POSE? Are there any OS 5 ROMs that you > know of that work on POSE? > > Thanks > > Greg There are _NO_ OS5 ROMs that will work with POSE. POSE emulates only OS4 and earlier devices.

Re: Memory Leaks Log with Simulator and CW

2006-06-09 Thread Greg
Michal, Thank you for your reply. What is your favorite ROM to use with POSE? Are there any OS 5 ROMs that you know of that work on POSE? Thanks Greg -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Memory Leaks Log with Simulator and CW

2006-06-09 Thread Michal Seliga
if you use 5.4 debug garnet simulator it will report you memory leaks - but only that they happened, not where. but still better then nothing i still debug on emulator when possible because simulators can't even compete with it. Greg wrote: > When I used POSE with CW I would get memory leak descr

Re: Memory leaks

2006-01-06 Thread 孟 飞
seems that i ever meet such condition, later i found that the destroy function of one form doesn't been excuted, which is responsible for free some chunk ÔÚÄúµÄÀ´ÐÅÖÐÔø¾­Ìáµ½: >From: Tinnus <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" >To: "Palm Dev

RE: Memory leaks

2006-01-06 Thread Bonnie.Zeller
memory leak. Bonnie From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of TinnusSent: Friday, January 06, 2006 11:38 AMTo: Palm Developer ForumSubject: Re: Memory leaks systemmgr.c is the OS file.Do a search in the source for any chunks 28 bytes-long. 2006/1/6, John <[EMAIL PROTEC

Re: Memory leaks

2006-01-06 Thread Tinnus
systemmgr.c is the OS file. Do a search in the source for any chunks 28 bytes-long.2006/1/6, John <[EMAIL PROTECTED]>: Thanks Michal for your response, But what my problem is that I downloaded some PalmOS application. When I tried to run it on theEmulator it show an Alert Message saying that PlamO

Re: Memory leaks

2006-01-06 Thread John
Thanks Michal for your response, But what my problem is that I downloaded some PalmOS application. When I tried to run it on the Emulator it show an Alert Message saying that PlamOS 5.0 or greater is required to run this application. Then I tried to run this application on PalmOS Garnet Simulato

Re: Memory leaks

2006-01-05 Thread Michal Seliga
try your application on palm emulator with debug rom. it will give ypou memory leaks in list with place when it was allocated [EMAIL PROTECTED] wrote: > I am new to PalmOS development. I am writing an application for PalmOS for > 5.0 and above in c++. Now I got some memory leaks which has to be fi

Re: memory leaks

2004-08-15 Thread Roger Stringer
Subject: Re: memory leaks From: "Merav Rubinstein" <[EMAIL PROTECTED]> Date: Sat, 14 Aug 2004 13:10:13 - my code is: in the handle event, open form: for(i = 0; i < 50; i++) { statuslist[i]=MemPtrNew(sizeof(Char)*STATUS_LENGH); StrCopy(statuslist[i],""); } handle

Re: memory leaks

2004-08-14 Thread Krzysztof Kowalczyk
On Sat, 14 Aug 2004 15:36:40 -0700, Keith Rollin <[EMAIL PROTECTED]> wrote: > I'd like to suggest three alterations to this paragraph. > ... Thanks for setting me straight, Keith. I didn't know those details. As to fixing the article - I don't feel very motivated - I don't maintain this site anym

Re: memory leaks

2004-08-14 Thread Keith Rollin
Krzysztof, Regarding Poser, your article says: Another way is to run your program using POSE, a PalmOS emulator and use a debug rom (which you can get if you participate in Palm's Solution Provider Program). If you have leaks in your program debug rom will tell you about this upon exiting. Unfor

Re: memory leaks

2004-08-14 Thread Krzysztof Kowalczyk
On Sat, 14 Aug 2004 13:10:13 -, Merav Rubinstein <[EMAIL PROTECTED]> wrote: > I read that, but the article in "highway1" is not available... Well, I have no control over that - at the time I linked to the article it was available. Anyway, my contribution was really 'my way" part of the article

Re: memory leaks

2004-08-14 Thread Merav Rubinstein
I read that, but the article in "highway1" is not available... my code is: in the handle event, open form: for(i = 0; i < 50; i++) { statuslist[i]=MemPtrNew(sizeof(Char)*STATUS_LENGH); StrCopy(statuslist[i],""); } handle event, close form: for(i = 0; i < MAX_LEN; i++) { if(stat

Re: memory leaks

2004-08-13 Thread Krzysztof Kowalczyk
On Fri, 13 Aug 2004 21:31:28 -, Merav Rubinstein <[EMAIL PROTECTED]> wrote: > I have a note that say that I can find the memory leaks in a log file, but I don't > understand a thing from it...Can I know what's the problem from the log file? I once wrote an article about a better way to detect

Re: memory leaks

2004-08-13 Thread Tim Kostka
The log file contains information that was in the memory you didn't free. Typically, one can recognize this from originating from a specificic part of the code. If you can't do that, you may want to double check that all memory you allocate is eventually freed. Check your MemPtrNew/MemPtrFree and

Re: Memory leaks

2004-06-20 Thread Cory Pratt
Not sure, but you might make sure you are calling FrmCloseAllForms before your program exits. Also, make sure you're not setting handled to true for frmCloseEvent's. If you're using FrmPopupForm, you should also make sure you are returning to the correct form with FrmReturnToForm(0). Hope that h

Re: memory leaks - why debug them?

2004-06-13 Thread Marc A. Lepage
Ornstein, Adam wrote: I have an odd developer question. Why should developers care about memory leaks in their programs? The OS cleans up the extra junk anyways. Is there a real technical reason that we would need to get rid of all memory leaks? thanks for all responses! One reason hasn't yet b

Re: memory leaks - why debug them?

2004-06-13 Thread Peter Hamilton-Scott
Ornstein, Adam wrote: I have an odd developer question. Why should developers care about memory leaks in their programs? The OS cleans up the extra junk anyways. Is there a real technical reason that we would need to get rid of all memory leaks? thanks for all responses! Adam, I see like it this

Re: memory leaks - why debug them?

2004-06-11 Thread Trevor Powell
> I have an odd developer question. Why should developers care about memory > leaks in their programs? The OS cleans up the extra junk anyways. Is > there a real technical reason that we would need to get rid of all > memory leaks? I know you've asked only for technical reasons, but I'd like to

Re: memory leaks - why debug them?

2004-06-11 Thread Adrien Regimbald
There are exceptions to the OS cleaning up your mess for you. For example, if you allocate feature memory then don't free it, the OS won't reclaim it until a reset. Also, don't expect "garbage collection" while your program is running. Don't be surprised if some of your clients have very little fre

Re: memory leaks - why debug them?

2004-06-10 Thread jimrandomh
Ornstein, Adam wrote: I have an odd developer question. Why should developers care about memory leaks in their programs? The OS cleans up the extra junk anyways. Is there a real technical reason that we would need to get rid of all memory leaks? Some memory leaks correspond to initialization. On

Re: memory leaks - why debug them?

2004-06-10 Thread Tim Kostka
Well, it maximizes the amount of memory available for your application. -- Tim Kostka "Ornstein, Adam" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have an odd developer question. Why should developers care about memory > leaks in their programs? The OS cleans up the extra j

Re: memory leaks - why debug them?

2004-06-10 Thread Alan Ingleby
"Ornstein, Adam" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have an odd developer question. Why should developers care about memory > leaks in their programs? The OS cleans up the extra junk anyways. Is there > a real technical reason that we would need to get rid of all mem

RE: memory leaks...

2004-04-26 Thread Ornstein, Adam
Thanks! At 03:23 PM 4/26/2004, you wrote: >You have been a good help! > >And my only remaining question is, do you know of a way to test if a pointer >is still allocated to memory, so I don't try to free up empty pointers? The answer is to always set a pointer to NULL after you deallocate it.

RE: memory leaks...

2004-04-26 Thread Ben Combee
At 03:23 PM 4/26/2004, you wrote: You have been a good help! And my only remaining question is, do you know of a way to test if a pointer is still allocated to memory, so I don't try to free up empty pointers? The answer is to always set a pointer to NULL after you deallocate it. For example:

RE: memory leaks...

2004-04-26 Thread Ornstein, Adam
Palm Developer Forum Subject: Re: memory leaks... Adam: I have not much experience, but I'm trying to help you the best I can. In the case of global pointers, I don't know how are you doing to get the pointers. In my case, I usually have the sequence: MemHandleNew(

Re: memory leaks...

2004-04-26 Thread Ariel Ayala
> > > > Adam E. Ornstein > Information Resource Specialist > [EMAIL PROTECTED] > (301) 427 - 1266 > > > -Original Message- > From: Ariel Ayala [mailto:[EMAIL PROTECTED] > Sent: Monday, April 26, 2004 2:51 PM > To: Palm Developer Forum > Subject: Re:

RE: memory leaks...

2004-04-26 Thread Ornstein, Adam
-Original Message- From: Ariel Ayala [mailto:[EMAIL PROTECTED] Sent: Monday, April 26, 2004 2:51 PM To: Palm Developer Forum Subject: Re: memory leaks... I usually have Mem leaks in functions that set text to popup triggers, fields, etc (basically). A way that 'works'

Re: memory leaks...

2004-04-26 Thread Ariel Ayala
I usually have Mem leaks in functions that set text to popup triggers, fields, etc (basically). A way that 'works' for me to detect them is run the Gremlins tool of POSE, while debugging the app. And when MemLeaks are detected, see the log file generated (in the Emulator's directory, the most r

Re: memory leaks...

2004-04-26 Thread Dave Lippincott
Count all the times your app allocates memory and subtract when you deallocated it. If your app is small enough, you can keep count in your head while stepping through. I've also added a variable I increment and decrement accordingly, then check its value just before the app exits. You can also u

Re: Memory leaks from unknown API functions

2003-12-10 Thread Keith Rollin
Just more FYI: I checked the Palm OS 4.2 sources, and couldn't find a function called SetControlLabel, so it looks like the problem is with an installed application, and not with anything in the OS (such as a sub-launched panel). -- Keith At 1:38 PM -0500 12/10/03, Regis St-Gelais wrote: if t

Re: Memory leaks from unknown API functions

2003-12-10 Thread Regis St-Gelais
if those routines are not from your app: MainViewInit, MainViewHandleEvent, StarterPalmMain it is not a log file about your app. -- Regis St-Gelais, P. Eng. / ing. Software Development / Développement informatique www.laubrass.com -- "Luc Le Blanc" <[EMAIL PROTECTED]> a écrit dans le message de n

Re: memory leaks

2003-11-18 Thread Laurens
"Stephen Bentley" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > MemHandleFree(stringH) I'm guessing??? You guessed right. Just unlocking the handle won't free the chunk. There should be a matching MemHandleFree for every MemHandleNew(and a MemHandleUnlock for every MemHandleLock).

RE: memory leaks

2003-11-18 Thread Stephen Bentley
MemHandleFree(stringH) I'm guessing??? -Original Message- The emulator is reporting memory leaks in my code. Is there something wrong with allocating strings like this: stringH = MemHandleNew(10); string = MemHandleLock(stringH); // do some strcopys, etc. MemHandleUnlock(stringH); I

Re: memory leaks vs. unallocated chunks

2003-08-26 Thread Meg Walraed-Sullivan
For anyone who might be interested or doing a similar function, my problem was in AddPickedItem, where the very first item of the dynamic list was set. ( pickedListStringP.stringListP=itemToAdd;) Because I was doing this by pointer, when the second item was added, the first list was freed, thus un

Re: memory leaks vs. unallocated chunks

2003-08-24 Thread wterreblanche
I decided to dig up my program again and make a very simple project to illustrate what I have done. It also fills a list dynamically, but there are no memory leaks resulting from this code. You can easily copy this code just as it is into a small project and try it out. I have not really comp

Re: memory leaks vs. unallocated chunks

2003-08-21 Thread meg
Thank you very much for your response. Unfortunately I'm still stuck. Actually, the problem is more that ClearPickedList doens't work correctly once I do free the memory. I'm pretty sure about where the memory leaks are coming from, but fixing them breaks ClearPickedList (and only on the last ca

Re: memory leaks vs. unallocated chunks

2003-08-21 Thread wterreblanche
I decided to respond to your question because sometime ago I also had a very similiar problem. I tried to look again in my code what I did to solve it, but can not remember exactly what it was. However, I *think* you should try to also call your ClearPickedList from the AppStop() function.

Re: memory leaks vs. unallocated chunks

2003-08-21 Thread Prashant Jha
>on a side note, when there are memory leaks, the >emulator alerts me and >tells me that details can be found in "the log >file." What log file? To begin with, the log file is in the same directory as your emulator.exe (usually). __ Do you Yahoo!? Yahoo! SiteBuild

Re: memory leaks/database storing

2003-08-18 Thread Thomas Damme
Sorry, just found your original posting. Started the list from the top ;-) So forget what I wrote before. 1.) your function BuildAnswerString create a chunk in the dynamic area so you have to free it after you call QuestionEditRecord 2) With this code you just store strings in the database like "

Re: memory leaks/database storing

2003-08-18 Thread Thomas Damme
Hello meg, actually there is nothing in these 2 lines that could cause memory leaks. You should provide us with some more code to detect them and to find out, why the content of newData is not stored in your database. But what I can see from the 2 lines: The first is not the way you would use a da

Re: Memory Leaks

2003-07-30 Thread Régis Daniel de Oliveira
Thanks Alan. Now it's working very good! Thanks! "Alan Ingleby" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > > > Does anybody knows what is wrong? > > Yes, you need to free all the allocations created by : > > > itemList[count] = (char *)MemPtrNew(StrLen(NomeCli) * sizeof(Cha

Re: Memory Leaks

2003-07-30 Thread Alan Ingleby
> Does anybody knows what is wrong? Yes, you need to free all the allocations created by : > itemList[count] = (char *)MemPtrNew(StrLen(NomeCli) * sizeof(Char *)); Personally, I find it easier to use a callback function for dynamic lists. Alan -- For information on using the Palm Developer

Re: (Thanks!) RE: Memory Leaks from POL objects after adding a segment and reordering modules.

2003-07-03 Thread Ben Combee
At 09:38 PM 7/3/2003, Nick wrote: Maks and Ben, Thanks for your help. I found that the problem was my mistake (of course!). Amazing what a little sleep and a few days away from the bit-banging will for your your sanity! At least, I'd like confirmation from an expert before saying the problem is f

(Thanks!) RE: Memory Leaks from POL objects after adding a segment and reordering modules.

2003-07-03 Thread Nick
Maks and Ben, Thanks for your help. I found that the problem was my mistake (of course!). Amazing what a little sleep and a few days away from the bit-banging will for your your sanity! At least, I'd like confirmation from an expert before saying the problem is fixed. Turns out that the only *o

RE: Memory Leaks from POL objects after adding a segment and reordering modules.

2003-07-01 Thread max
] On Behalf Of Nick > Sent: Tuesday, July 01, 2003 7:06 AM > To: Palm Developer Forum > Subject: Re: Memory Leaks from POL objects after adding a segment and > reordering modules. > > Maks, > > Thanks for the suggestions. I am currently comparing current the version > to

Re: Memory Leaks from POL objects after adding a segment and reordering modules.

2003-07-01 Thread Nick
Maks, Thanks for the suggestions. I am currently comparing current the version to previous versions to see where I might have broken something. At first, instead of adding a new segment, I put some of the forms in Segment 2 and everything was fine. However, I thought this would not be a good ide

Re: Memory Leaks from POL objects after adding a segment and reordering modules.

2003-07-01 Thread Nick
"Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > At 11:16 PM 6/30/2003, Nick wrote: > >I recently had to add a segment to my application because the first segment > >exceeded 64k and I was getting compiler errors. The users of this forum > >kindly helped me through this

Re: Memory Leaks from POL objects after adding a segment and reordering modules.

2003-07-01 Thread Ben Combee
At 11:16 PM 6/30/2003, Nick wrote: I recently had to add a segment to my application because the first segment exceeded 64k and I was getting compiler errors. The users of this forum kindly helped me through this. I added Segment 5 as Preload, Protected, Locked. I chose these values because all

RE: Memory Leaks from POL objects after adding a segment and reordering modules.

2003-06-30 Thread max
Check your own code ;-) 1. Try to avoid using dynamically created objects, for example: A* pa = new A(); pa->Foo(); delete pa; Replace with: A a; a.Foo(); 2. Use smart pointers (CAutoPtr and CSmartPtr) if it's difficult to track objects lifetime. __

Re: Memory leaks from FrmDrawForm.

2003-06-05 Thread Keith Rollin
At 3:53 PM -0500 6/4/03, Todd Niec wrote: My program is "suddenly" giving me two memory leaks. These appear to have something to do with the display of the main form. The form is not marked to "save the bits behind" the form, which is what it almost seems to be doing. Coudl the be because I

Re: Memory leaks from FrmDrawForm.

2003-06-05 Thread Ben Combee
At 15:53 2003-6-4 -0500, Todd Niec wrote: My program is "suddenly" giving me two memory leaks. These appear to have something to do with the display of the main form. The form is not marked to "save the bits behind" the form, which is what it almost seems to be doing. Coudl the be because I am

Re: Memory leaks

2003-01-19 Thread Keith Rollin
At 8:12 PM +0100 1/18/03, Stephan Veigl wrote: Hi Eric Some of them I really have no idea about since I don't recognize anything on the stack. (I've attached a log file). It's your job to do the clean up. There's a good article and samples that may help you at: http://www.fifthgate.org/article

Re: Memory leaks

2003-01-18 Thread Stephan Veigl
Hi Eric > Some of them I really have no idea about since I don't > recognize anything on the stack. (I've attached a log file). It's your job to do the clean up. There's a good article and samples that may help you at: http://www.fifthgate.org/articles/palm_mem_leaks.html by(e) Stephan -- For

Re: Memory leaks

2003-01-18 Thread Paul Tidwell
Eric, I had a similar problem recently. A program I had written years ago got these complaints in the newest emulator. I solved it by including: FrmCloseAllForms(); in my stop application function. Something I should have done all along, but did not realize I hadn't until recently. Perha

Re: Memory leaks

2003-01-17 Thread Keith Rollin
We covered a lot of this just two days ago in this forum. See the thread titled "POSE reports memory leak even when I don't allocate". In short, you're supposed to clean up those resources before you quit your application. -- Keith Rollin -- Palm OS Emulator engineer At 10:54 PM -0600 1/17/03

RE: Memory Leaks

2002-08-30 Thread Brian Ku
Other memory leaks are caused by not freeing up loaded forms (ie. Not calling FrmCloseAllForms() when app quits). Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Typical Joe Sent: Thursday, August 29, 2002 6:26 AM To: Palm Developer Forum Subject:

Re: Memory Leaks

2002-08-30 Thread Joe Malone
--- Typical Joe <[EMAIL PROTECTED]> wrote: > > Are memory leaks only ever caused by not deallocating a field's > old handle ? > Are there any other causes of leaks ? Allocate dynamic memory, then don't free it -> memory leak. No field required. For Example, put this in your AppStart(): Char

Re: Memory Leaks

2002-08-29 Thread JB Parrett
There are many ways to leak memory - some of the most common are discussed in the online Palm OS Expert Case Studies course at http://www.palmos.com/dev/training/online/ The course is free until the end of the year, and was written to help developers overcome programming challenges. Think of it

Re: Memory leaks

2002-07-23 Thread Keith Rollin
At 8:51 PM -0700 7/22/02, Jaxo, Inc. wrote: >>If you're not getting the same results, then *something's* different. > >Yes, but what? Assuming everything works the way it is supposed to >work, what is it that causes the generation of the fairly detailed >memory leak report that gets printed to

Re: Memory leaks

2002-07-22 Thread Jaxo, Inc.
"Keith Rollin" <[EMAIL PROTECTED]> wrote in message news:91718@palm-dev-forum... > There is no "Palm OS 4 SDK Emulator". The Palm OS Emulator is > downloaded from its own Web page; it is not part of any SDK. Yes, I know...I just refer to it as that to differentiate it from the "simulator." > I

Re: Memory leaks

2002-07-22 Thread Keith Rollin
At 5:52 PM -0700 7/22/02, Jaxo, Inc. wrote: >How does one turn on memory leak checking in the Palm OS 4 SDK Emulator? There is no "Palm OS 4 SDK Emulator". The Palm OS Emulator is downloaded from its own Web page; it is not part of any SDK. >A colleague gets memory leak traces, but even though

RE: Memory leaks with dynamic lists

2001-10-22 Thread Robert McKenzie
Well True, you are creating your list dynamically, but I (for one) would hardly call it a dynamic list. To answer your question -- if you create the list (LstNewList) on form open, I would trash your memory on form close. Don't forget to check whether or not you ever actually allocated the

Re: Memory leaks

2001-06-11 Thread Karanjit Siyan
: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 10:02 AM Subject: Re: Memory leaks > "Karanjit Siyan" <[EMAIL PROTECTED]> wrote in message > news:52491@palm-dev-forum... > > > > I am developing an app

Re: Memory leaks

2001-06-11 Thread Ben Combee
"Karanjit Siyan" <[EMAIL PROTECTED]> wrote in message news:52491@palm-dev-forum... > > I am developing an app for the palm that I am debugging using the POSE 3.2 > I get memory leak errors even when I have reduced the code down to a small > stub. I have several global data structures declared usin

Re: Memory leaks

2001-06-11 Thread Jeff Wheeler
> I get memory leak errors even when I have reduced the code down to a small > stub. I have several global data structures declared using 'static'. Does > any one know if global data gets moved around by the Palm OS. I get the > memory leak errors when I enter and immediately exit the application.

RE: Memory leaks

2001-03-02 Thread Heather KML Tufts
> I'd mentioned all this in a previous discussion, but since I > also have a P3/800 with W98SE, the coincidence was too much to resist. > :) > > First question - are you using CodeWarrior 7? > > > dammit, for the first time i understand how to use this hd > 0 and it gives > > my machine a fat

Re: Memory leaks

2001-02-22 Thread DIAMOND JEFF
es R > > -Original Message- > From: Jacky Cheung <[EMAIL PROTECTED]> > To: Palm Developer Forum <[EMAIL PROTECTED]> > Date: Monday, February 19, 2001 3:36 PM > Subject: RE: Memory leaks > > >To open the console window, click on Palm->Open Debug Console

Re: Memory leaks

2001-02-22 Thread Jun-Kiat Lam
t; <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, February 21, 2001 5:06 AM Subject: RE: Memory leaks > Thank you very much. That was exactly what was missing. > Now, that I can use hd 0: > this is what I get:

RE: Memory leaks

2001-02-22 Thread Jacky Cheung
EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Manal Milad Sent: Thursday, February 22, 2001 12:07 AM To: Palm Developer Forum Subject: RE: Memory leaks Thank you very much. That was exactly what was missing. Now, that I can use hd 0: this is what I get: Displaying Heap ID: , mapp

Re: Memory leaks

2001-02-21 Thread Ben Combee
"Manal Milad" <[EMAIL PROTECTED]> wrote in message news:40476@palm-dev-forum... > > Thank you very much. That was exactly what was missing. > Now, that I can use hd 0: > this is what I get: > > > Displaying Heap ID: , mapped to 1800 > > reqact resType/ > #r

Re: Memory leaks

2001-02-21 Thread Charles Rezsonya
eloper Forum <[EMAIL PROTECTED]> Date: Monday, February 19, 2001 3:36 PM Subject: RE: Memory leaks >To open the console window, click on Palm->Open Debug Console... > >then type in hd 0 and press enter. > >Hope this help. >Jacky > >-Original Message- &

RE: Memory leaks

2001-02-21 Thread Manal Milad
Manal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Ben Combee Sent: Tuesday, February 20, 2001 10:04 PM To: Palm Developer Forum Subject: Re: Memory leaks "Jacky Cheung" <[EMAIL PROTECTED]> wrote in message news:40377@palm-dev-forum... &g

RE: Memory leaks

2001-02-21 Thread Jacky Cheung
Forum Subject: RE: Memory leaks Thanks for your reply, but where do I find Palm->Open Debug Console? I am using Code Warrior Lite. Manal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jacky Cheung Sent: Monday, February 19, 2001 9:05 PM To: Palm Develop

Re: Memory leaks

2001-02-21 Thread Ben Combee
"Jacky Cheung" <[EMAIL PROTECTED]> wrote in message news:40377@palm-dev-forum... > > Sorry I am not sure where it is for Lite as I don't have it here. It is on > the menu bar for CW7. > Does anyone know? CW PalmOS Lite should have this. You may need to enable the Palm menu by clicking the check

RE: Memory leaks

2001-02-20 Thread Manal Milad
Thanks for your reply, but where do I find Palm->Open Debug Console? I am using Code Warrior Lite. Manal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jacky Cheung Sent: Monday, February 19, 2001 9:05 PM To: Palm Developer Forum Subject: RE: Mem

RE: Memory leaks

2001-02-19 Thread Jacky Cheung
To open the console window, click on Palm->Open Debug Console... then type in hd 0 and press enter. Hope this help. Jacky -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Manal Milad Sent: Tuesday, February 20, 2001 2:50 AM To: Palm Developer Forum Subje

RE: Memory leaks

2001-02-19 Thread Richard Anderson
Rely on the debug ROMS, normal ROMS dont show you the errors. Any errors shown up by the debug ROMS need fixing. Rik > -Original Message- > From: Manal Milad [SMTP:[EMAIL PROTECTED]] > Sent: 19 February 2001 13:50 > To: Palm Developer Forum > Subject: Memory leaks > > 1. I have m

Re: Memory leaks with FrmPopupForm

2001-01-22 Thread Chris DiPierro
Yes, I'm well aware of that. Ben Combee <[EMAIL PROTECTED]> wrote in message news:36455@palm-dev-forum... > > "Chris DiPierro" <[EMAIL PROTECTED]> wrote in message > news:36414@palm-dev-forum... > > > > Yea it is. I appreciate it. > > > > Ok, here's a question then. > > > > After many Gremlins I

RE: Memory leaks & finding objects of a particular size

2000-12-04 Thread Scott Johnson (Bellevue)
> From: Stuart A. Malone [mailto:[EMAIL PROTECTED]] > I've got a memory leak in my app, which consists of a single object > Is there some way to for me to get CodeWarrior to give me a list of the > structs and classes I've got declared in my app that are 16 bytes long? > All other suggestions, of

Re: Memory leaks & finding objects of a particular size

2000-12-04 Thread Steve Achelis
Create a map file: Project Settings, Linker, 68K Linker, Generate Link Map. This creates a *.map file in your project folder. Open the file and look for the "data" entries. This shows every variable and its size. The main problem with this approach is if you have a pointer that you new() 16 byt

Re: Memory Leaks

2000-07-21 Thread krollin
> First since I am using C++ instead of C, I am using new and delete. > This is the same as using MemPtrNew and MemPtrFree, right? You've got the runtime sources...you can see for yourself if this is true or not. > New creates a > nonmovable chunk in the dynamic heap and delete would delete it