I can provide you with few information that you should consider when
comparing XPe and XP.
If you use XPe without page file then you must do the same with Windows XP,
so you can have same results.
There are API functions that will behave differently when pagefile is
disabled.
For instance if you only reserve some memory let us say 80 MB if you have
page file mem will be reserved in page file not from RAM.
But if page file is disabled then all memory will be allocated and committed
from physical RAM.
Long time ago this derived me crazy I'm using many DMO codec's for video
compression and decompression, and I can't influence their mem allocation.
When PF is enabled my app for compression consumes less than 20 MB of ram
and around 200 MB from PF is reserved, but if PF is not there then all this
memory is allocated from RAM (very frustrating but that is how OS must
work). I solved my problems by using only codecs than are needed at same
time, but...
Conclusion:
1. Make same environment in XP like in XPe (disable page file)
2. If you write applications, write them for XPe, that way they will work on
XP.
This maybe can help you.
Regards,
Slobodan
"MickeyBob" <(E-Mail Removed)> wrote in message
news:bc2d01c3ed7f$d0fd3330$(E-Mail Removed)...
> I am experiencing a memory leak situation too. To compare
> notes, my system is running XPe, has 128Mb, and the page
> file is disabled. My memory leak occurs when I use a
> method provided in MS's Data Access application block to
> run a stored procedure that takes considerable time, or
> when I spawn another process and monitor it's status. In
> the latter case, all I do in my code is create and start
> the new process and have a do() loop that checks if the
> new process is still running. I have tried running
> several different subordinate apps including the DOS
> command window (i.e., CMD.EXE). I run task manager to
> show the memory usage and everytime it updates, I've lost
> 4-12k or RAM. So in my situation, I run out of memory
> within a minute or so. I run the exact same code on my
> laptop running full-blown XP and the memory leak does not
> occur. Any similarities?
>
> I have seen one or two references in some other news
> group about a memory leak in XPe when the application has
> a SQLConnection object. Apparently, they only experienced
> the problem after they created and used the object. If
> they just created the object but didn't use it, the
> problem didn't occur.
>
> To test that theory, I wrote a very small application
> that didn't contain a SQLConnection object and spawned a
> new process in a manner very similarly to my large
> application. It didn't have a memory leak.
>
> Does any of this ring a bell?
>
> >-----Original Message-----
> >Hello,
> >
> >I have an image booting from RAMDisk, without EWF. I`m
> >having problems with the RAM, because something is
> >collecting all my memory in about 4 hours. In my machine
> >I have 1GB of RAM, and all my usage is about 850MB, in
> >the sum of application, SO, and RAMDISK drive. But,
> after
> >few hours I get 0(zero) RAM free.
> >I dont have PageFile enabled, I disabled the background
> >disk defrag and limited the size of the events log. Is
> >there anything else that can consume the memory ??
> >I checked the temp directory (viewing the hidden files
> >too) but I have only one file, with few Kbytes...
> >Does anybody has any idea to help me ??
> >
> >Thanks a lot,
> >
> >Fabio Gianzanti
> >.
> >
|