Posted by
Joachim Wesner on
Apr 29, 2009; 8:03am
URL: http://imagej.273.s1.nabble.com/unexplainable-memory-limit-in-ImageJ64-tp3692745p3692751.html
Hi Dan,
sorry, but this must be a problem of your setup (and that Matlab cannot use
more than 2GB even if the system is set for 3GB user space) !?
What does "memory" say on your system?
On a somewhat loaded 32-bit system (some applications open) I get with
Matlab 2008b
Maximum possible array: 1279 MB (1.341e+009 bytes) *
Memory available for all arrays: 1600 MB (1.677e+009 bytes) **
Memory used by MATLAB: 220 MB (2.308e+008 bytes)
Physical Memory (RAM): 3326 MB (3.487e+009 bytes)
and as you suggested I just allocated three arrays of about 1200MB total
and there are now 63 MB left!
On 64 Bit that limit should not occur any more
http://www.mathworks.de/support/tech-notes/1100/1106.htmlMit freundlichen Grüßen / Best regards
Joachim
____________________________________________
Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht
Wetzlar HRB 2432
Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David Roy
Martyr | Colin Davis
David Webster
<dwwebster00@GMAI
L.COM> An
Gesendet von:
[hidden email]
ImageJ Interest Kopie
Group
<
[hidden email]. Thema
GOV> Re: unexplainable memory limit in
ImageJ64
29.04.2009 01:33
Bitte antworten
an
ImageJ Interest
Group
<
[hidden email].
GOV>
Joachim
Got it by direct experiment. For instance by using "zeros" to allocate
memory in MatLab. This has been the same for Windows ME, NT, W2K, and XP. I
suppose it coud be a MatLab problem as I've never tried it with say a C++
program, but MathWorks says not.
David
On Tue, Apr 28, 2009 at 12:25 PM, Joachim Wesner <
[hidden email]> wrote:
> Hi David,
>
> >I don't know if this is the same thing, but Windows (XP, ME) limits an
> >application to a total (physical and virtual) memory allocation around
600
> >Mbytes. This has bitten me before with Matlab, so I assume it is the
same
> >with imageJ.
>
> Where did you get this info from? Microsoft claims different (even on
> Windows 2000)
>
>
http://msdn.microsoft.com/en-us/library/aa366778.aspx>
> "User-mode virtual address space for each 32-bit process
>
> 2 GB: Up to 3 GB with IMAGE_FILE_LARGE_ADDRESS_AWARE and 4GT"
>
> Never heard about this before!
>
> Joachim
>
> ____________________________________________
>
> Leica Microsystems CMS GmbH | GmbH mit Sitz in Wetzlar | Amtsgericht
> Wetzlar HRB 2432
> Geschäftsführer: Dr. Stefan Traeger | Dr. Wolf-Otto Reuter | Dr. David
Roy
> Martyr | Colin Davis
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit
http://www.messagelabs.com/email> ______________________________________________________________________
>
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________