Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13086 > unrolled thread

Problem with 2GByte file size limit

Started by"Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de>
First post2013-01-11 02:38 +0000
Last post2013-01-11 02:38 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Problem with 2GByte file size limit "Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de> - 2013-01-11 02:38 +0000

#13086 — Problem with 2GByte file size limit

From"Ernst H.K. Stelzer" <ernst.stelzer@physikalischebiologie.de>
Date2013-01-11 02:38 +0000
SubjectProblem with 2GByte file size limit
Message-ID<kcntuk$f4r$1@smc.vnet.net>
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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web