Try to increase the virtual memory settings.
Aashish
>Hi,
>I've built an application, compiled as an app, which works ok. I've now been asked to build it as an exe (I've done this fine before with a really simple exe, no problems).
>
>However, when I start the newly compiled exe program, I get the error:
>"There is not enough memory to perform this application" - The exe file is only 10 Meg, It's running on a server with tonnes of memory, cache not an issue.
>
>I expect it's to do with the primitive way I built the exe, namely,
>Starter program calling an OLE Public class, which calls the top level form, from where the real application starts.
>I have "READ EVENTS" & "RETURN" in the Starter program, but nowhere else (or "CLEAR EVENTS") should I?
>
>Can someone give me an idea where to start looking for the problem, or structurally am I doing something stupid, and was just able to get away with it for my previous simple exe?
>
>Cheers,
>
>Blair