Memory Compaction in Win98 - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Memory Compaction in Win98

Hi all,
I have observed that in Windows 98 memory released by application after its usage is not compacted and made available to the application,hence the application runs out of resources.Kindly confirm whether if my observation is correct and if it is please suggest solution.

I have used GlobalMemoryStatus API function to observer memory usage. Even it shows only 45% of Memory usage,yet the application runs out of resources.

Is there any API for memory compaction in Win98. In WinXP the same behaviour / problem is not seen.

Pleae reply as soon as possible.

Thanks and Bye.
Chaitanya.



Comments

  • KoppisKoppis Posts: 68Member
    : Hi all,
    : I have observed that in Windows 98 memory released by application after its usage is not compacted and made available to the application,hence the application runs out of resources.Kindly confirm whether if my observation is correct and if it is please suggest solution.
    :
    : I have used GlobalMemoryStatus API function to observer memory usage. Even it shows only 45% of Memory usage,yet the application runs out of resources.
    :
    : Is there any API for memory compaction in Win98. In WinXP the same behaviour / problem is not seen.
    :
    : Pleae reply as soon as possible.
    :
    : Thanks and Bye.
    : Chaitanya.
    :
    :
    :

    I never had that problem on Win98. I have seen reports on that free memory does not raise if you free a form. But if you create it, it does not take any more memory either. Might be Win98 memory management..
    Do you get an EOutOfMemory error message?
    For what do you allocate the memory? Are you sure you free it successfully?

Sign In or Register to comment.