Re: outofmemoryexception

Tech-Archive recommends: Fix windows errors by optimizing your registry




"tin" <tin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:89268474-E119-47E1-948A-BED5C9C7C95F@xxxxxxxxxxxxxxxx
hi, i have an exe that holds a very large Dictionary collection that would
takes about 2.5G in total. the machine has 4G RAM.

if i load the entire collection within an EXE, i would get
outofmemoryexception when it uses up to about 1.5G RAM. however, if i
split
the collection into 2 seperate EXE, one can load up to 1.2G and another
1.3G
without any problems even if they both run at the sametime. the machine
still has about 500 MB RAM free afterward.

ideally, i like to have just one EXE to hold all 2.5G data ... is it
possible? any idea?

search for "Address Windowing Extensions"


thanks!


.



Relevant Pages

  • Re: Fastcode Library Design
    ... Pro ... The smallest possible exe ... No additional RAM usage. ... Compiled for one target only ...
    (borland.public.delphi.language.basm)
  • Re: outofmemoryexception
    ... outofmemoryexception when it uses up to about 1.5G RAM. ... the collection into 2 seperate EXE, one can load up to 1.2G and another 1.3G ... Windows) don't allow you to create objects larger than 2GB, so you will have to change your design. ...
    (microsoft.public.dotnet.framework.clr)
  • Re: Fastcode Library Design
    ... Pro ... The smallest possible exe ... No additional RAM usage. ... Compiled for one target only ...
    (borland.public.delphi.language.basm)
  • RE: how to start application at startup of booting time
    ... Create an empty subproject that will copy the .exe into the release ... DependsXX of the subproject registry to that of the shell.exe. ... then how to edit the registry, because it is loaded on ram. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: MFC Application in O/S Image
    ... So compressing cause the exe to moved to RAM before executing. ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.embedded.vc)