![]() |
|
|||||||
| 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 |
|
||||
|
Hi Willisgt,
I've not come across this problem before, but then I've not come across an aplication that needed 40 forms. If the problem is indeed the number of forms, which you seem to have prooved that it is then the only option is to use less forms ![]() This doesn't mean that you need to lose any functionality though. You will probably need to add forms in runtime and then dispose of them when you've finished with them. This will free up memory, so you can continue with your aplication. Ps if you can post your code then myself and the others here on the forum may be able to point out a better way of doing it (I'm only an amateur but there's a lot of knowledge around the forum) Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
|
||||
|
I appreciate the offer, but it's not practical to post the code. One, it's 17,000+ lines long. Two, my employer would probably object to my posting the code.
I expect that you're right - I'm going to have to build at least some of the forms dynamically, preferrably the simpler ones. I just hope I don't run into another memory error as a result of trying to dynamically populate a blank form. Gary ![]()
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5 PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6 |
|
||||
|
I'm making a grand assumption that if the mobile device that's having the memory problem simply had more memory, I wouldn't be having this problem.
Since I know very little about how .Net works, I'm cautious about just going out and getting a memory upgrade without knowing. Is there an upper limit to the amount of memory that .Net will allocate for itself? Or will it use whatever it can up to the limit of available memory? Gary ![]()
__________________
PC: Windows XP Pro SP3 / Basic4PPC v6.5 PPC: HTC 8925 (AT&T Tilt) / Windows Mobile 6 |
|
||||
|
Quote:
Regards, RandomCoder
__________________
Desktop: Pentium D 920 (2.8GHz, 4MB L2 Cache, 800MHz FSB), 1024MB, 256MB Radeon X600, 250GB HD. Device : Axim X51v XScale 624MHz, 3.7" VGA, 64MB SDRAM, 256MB Flash ROM + 1Gb SD. "Defeat never comes to any man until he admits it."Josephus Daniels |
|
||||
|
Quote:
![]() Quote:
![]() EDIT :- Sounds like a truly epic program! Last edited by agraham : 03-01-2008 at 10:00 AM. |
![]() |
| 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 |
| Proper use of the .New methods, out of memory error | kolbe | Questions & Help Needed | 5 | 09-05-2008 02:37 PM |
| Format Exception Error | Zenerdiode | Questions & Help Needed | 2 | 09-03-2008 04:12 PM |
| "Hello World" = 3MB of memory & 6-8 seconds to load | yairlanz | Questions & Help Needed | 8 | 07-29-2008 11:15 AM |
| Regional Settings: Error loading program. Exception | mtse | Bug Reports | 0 | 05-24-2007 02:40 AM |
| Out of Memory error while loading bitmap | HARRY | Questions & Help Needed | 3 | 05-15-2007 01:12 PM |