Available memory for a Xojo app on Win7?

Hi all,

what is the memory available for a Xojo app on Win7? 2 GB (IMAGE_FILE_LARGE_ADDRESS_AWARE cleared) or 4 GB (IMAGE_FILE_LARGE_ADDRESS_AWARE set)?

I have an app on my Mac which after processing 68,000 proteins into peptides (using an in-memory database) goes to 2.7 GB. But what are the limits on Windows?

TiA

Markus

A 32 bit app’s MAX is of course 4Gb in total - but thats for EVERYTHING
Memory mapped I/O usually takes a chunk of that

http://msdn.microsoft.com/en-us/library/windows/desktop/bb613473(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366796(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx

I did a image stitcher(not Xojo but 32 bit) and the limit was 4GB on Win7 or 8 earlier versions are 2GB for Vista or XP, 3gb if the user had done the switch
The stitcher can handle images bigger than 1000x1000 split by 10x10 no problem

[quote=131747:@Markus Winter]Hi all,

what is the memory available for a Xojo app on Win7? 2 GB (IMAGE_FILE_LARGE_ADDRESS_AWARE cleared) or 4 GB (IMAGE_FILE_LARGE_ADDRESS_AWARE set)?

I have an app on my Mac which after processing 68,000 proteins into peptides (using an in-memory database) goes to 2.7 GB. But what are the limits on Windows?
[/quote]

From what I can see on my PC in Task Manager with 4GB memory and no virtual memory, with Xojo IDE and Chrome running, apps and all sorts of startup programs take 58% of the 4GB.

normally Xojo can use about 1.9 GB on Windows.
(as far as I remember)

Rest is for system things.

[quote=131771:@Christian Schmitz]normally Xojo can use about 1.9 GB on Windows.
(as far as I remember)

Rest is for system things.[/quote]

Actually, when a Xojo app is the only one running, Task Manager reports 49% memory used. And the app of mine I used to see that takes only 7.7 MB. The Xojo IDE takes 288 MB.

if you make test app which allocates memory blocks quickly, you will see that with 10 MB blocks, you get to 3.23 GB on Mac vs. 1.54 GB on Windows.

Windows definitely uses memory in a process differently that OS X
This is instructive though
http://duartes.org/gustavo/blog/post/anatomy-of-a-program-in-memory/