Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'lack of memory after data export-import' topicStudent Support Forum > General > Archives > "lack of memory after data export-import"

Next Comment >Help | Reply To Topic
Author Comment/Response
Igor Telitchev
02/11/04 01:05am

I am performing some simulation and I’ve got the following problem. In the repetitive code the quadratic matrix (say Z) 3240 x 3240 is to update. If I export obtained quadratic matrix Z to dat file, quit the code, launch code again and import back the stored data, the code runs only few steps because of lack of memory. Without export-import data transmission this code can run much longer. I send you the test example where command Z=Inverse[Z] is used just for illustration of matrix Z updating. In the real code a few formulas from the matrix algebra are applied. The test example is

In[1]:= Z=Table[Random[],{3240},{3240}];
In[2]:= Export[“zet.dat”,Z];
In[3]:= Z=Developer`ToPackedArray[Import["zet.dat"]];
In[4]:= Z=Inverse[Z];
In[5]:= Z=Inverse[Z];
In[6]:= Z=Inverse[Z];
In[7]:= Z=Inverse[Z];
“No more memory available.
Mathematica kernel has shut down.
Try quitting other applications and then retry.”

I am currently using Pentium 4 CPU 3.00 GHz, 1.00 GB of RAM, Mathematica 5.

I would appreciate for help.

Igor Telitchev,
Univ. of Calgary, Canada

URL: ,

Subject (listing for 'lack of memory after data export-import')
Author Date Posted
lack of memory after data export-import Igor Telitchev 02/11/04 01:05am
Re: lack of memory after data export-import Henry Lamb 02/12/04 02:13am
Re: lack of memory after data export-import Igor Telitchev 02/15/04 00:16am
Next Comment >Help | Reply To Topic