![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
As my app grows, I run into memory problems (program crashes). I want to know more about memory consumpion when possible when a Sub is called to find out which causes this memory consumption.
Is there a way to figure this out? Scub
__________________
PPC: IPAQ 2210, 2GB, CF GPS, CF Wireless Mobile: Samsung Omnia I900 (WM6.1) |
|
|||
|
To be honest, nothing special (I think), but it has probably got something to do the way I do it. Something is eating memory. The program is not crashing immediately, but I have to do a few clicks, but it is reproducible.
I'll take a closer look at it with GCAllocatedMemory to see if I can catch this one. I just need to put the finger on the right spot. I bet I do sub calling the wrong way with as a result spoiling stack space. If you are interested, I'll mail you my app and how to crash it, but I can imagine you have more important things to do. Respect of what you're doing with B4ppc and the courage to share it with us! It must be a hell of a job! Scub.
__________________
PPC: IPAQ 2210, 2GB, CF GPS, CF Wireless Mobile: Samsung Omnia I900 (WM6.1) |
|
|||
|
Quote:
Scub
__________________
PPC: IPAQ 2210, 2GB, CF GPS, CF Wireless Mobile: Samsung Omnia I900 (WM6.1) |
|
|||
|
I managed to capture the error message when the app crashes:
OutOfMemoryException Application::Run+0xf class1::Main+0x83 Scub
__________________
PPC: IPAQ 2210, 2GB, CF GPS, CF Wireless Mobile: Samsung Omnia I900 (WM6.1) |
|
|||
|
My backup version of the app does not crash. When I'm back at the point I was before the b4ppc crash I'll send you the app (when the problem is still there). A lot of code is lost.....
Scub
__________________
PPC: IPAQ 2210, 2GB, CF GPS, CF Wireless Mobile: Samsung Omnia I900 (WM6.1) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dim memory usage | JamesC | Questions & Help Needed | 2 | 07-21-2008 09:09 AM |
| Images and memory | wolfgang | Questions & Help Needed | 5 | 02-23-2008 06:08 PM |
| Way to decrease memory usage | Andrew_572 | Questions & Help Needed | 3 | 01-04-2008 10:44 AM |
| How much memory remains? | willisgt | Questions & Help Needed | 1 | 12-05-2007 08:55 AM |
| FormLib: download? Usage? | laiyilam | Questions & Help Needed | 2 | 09-10-2007 02:53 PM |