Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Problem with 2GByte file size limit
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Ernst H.K. Stelzer

Posts: 12
Registered: 2/14/12
Problem with 2GByte file size limit
Posted: Jan 10, 2013 9:38 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Due to a question in SE I once again checked the file size limit in Mathematica 9.

data = ConstantArray[Image[ConstantArray[4095, {1024, 1024}], "Bit16"], 1500];
Export["C:\\Users\\stelzer\\Desktop\\test.tif", data, "TIFF"];

dataIn = Import["C:\\Users\\stelzer\\Desktop\\test.tif", "TIFF"];

Length[dataIn]

1023

As you can see, no error message and only 1023 files are written.

The situation is even worse when the file size is larger than 2GByte, which we generate regularly with our instruments, and I try to read it. Mathematica will not produce an error message and will only return the first image!

I use Mathematica 9, Windows 7-64bit, XEON, 96GByte of RAM, ... so not a system you would expect to have problems with.

The suggestion to raise the memory limit:

Needs["JLink`"]
ReinstallJava[JVMArguments -> "-Xmx6000m"]

Has not changed anything. I was also wondering if BigTIFF has been (will be?) implemented.

Sincerely

E. Stelzer





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.