MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: memory issues

  • To: mathgroup at
  • Subject: [mg68807] RE: [mg68751] memory issues
  • From: "Virgilio, Vincent - SSD" <Vincent.Virgilio at>
  • Date: Sat, 19 Aug 2006 00:41:12 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Perhaps this will help answer your last question:







Each exact integer added to the list (from Range) uses an additional 4
bytes.  Then, 4 * 125*^6 = 500*^6, which is about the memory footprint
you note for DAT below.

Vince Virgilio

(However, I notice ByteCount[{1}] != ByteCount[Range[1], i.e. 40 != 60.
ByteCount does not have Hold attributes, so it shouldn't see
Range[1]---does it somehow?)

-----Original Message-----
From: Christoph Lhotka [mailto:lhotka at] 
To: mathgroup at
Subject: [mg68807] [mg68751] memory issues


Running Mathematica 5.2 on 64Bit (AMD) with 2GB of RAM Memory OS:
WindowsXP 64 Pro. I get the message: No more memory available.
Mathematica Kernel has shut down...

How do I find out:

1) How much memory can Mathematica store in the RAM?
2) How much memory can Mathematica store on the Hard disk (swap file)?
3) At which memory limit does Mathematica begin writting to the had
3) Can I influence these limit 3) using the OS or in Mathematica?
4) How do I find out at which point in the calculation the kernel stops?
5) Why does my dual core processor does not work higher than with 50%

Doing some tests on my own I got the following riddle:





Out[]:= 502133312

Why is a list of 125 000 000 different integers (a 16 Byte) only 500 000
000 Bytes long? How should I estimate the memory limits in my
algorithms, when designing them on this basis?

Thank you in advance


This e-mail and any files transmitted with it are proprietary and intended solely
for the use of the individual or entity to whom they are addressed. If you have
received this e-mail in error please notify the sender. Please note that any views
or opinions presented in this e-mail are solely those of the author and do not
necessarily represent those of ITT, Inc. The recipient should check
this e-mail and any attachments for the presence of viruses. ITT accepts
no liability for any damage caused by any virus transmitted by this e-mail.

  • Prev by Date: Re: Simplifying a Boolean Expression
  • Next by Date: solve differential equation problem
  • Previous by thread: Re: memory issues
  • Next by thread: Beginner--Beginner: Calculating Ave Intensity in a domain of n points