"No enought room on startup disk for Application Memory" when using the Accelerate Fr

FLorenzo

Registered
Dear colleagues,

I am running what I know is a large problem for a scientific application (tochnog) a finite element solver that runs from the Terminal. The application tries to solve 1,320,000 simultaneous linear equations. The problem starts when I use the Accelerate Framework as the Virtual Memory size jumps from 142 G to about 576 G after the library (LAPACK) is called to solve the system.It does not do it if I use a solver that does not calls LAPACK inside Accelerate.

The machine is a mac pro desktop with 8 GB of ram, the 2.66 GHz Quad-core Intel and the standard 640 GB hard drive. The system tells me that I have 487 GB free or available on my hard drive.

The top instruction in Terminal reads VM 129G vsize when starting. When I run the finite element application once the LAPACK library in the Accelerate framework gets called, the Virtual Memory (VM) jumps to 563 G vsize.

After a short while, I get the "No enought room on startup disk for Application Memory error"

This is the data of Tochnog attempting to solve the problem using the LAPACK library inside the Accelerate framework: Here are the numbers as reported by the activity Monitor.

Tochnog Real Memory 6.68 GB
System Memory Free: 33.8 MB, Wired 378.8 MB, Active 5.06 GB, Inactive 2.53 GB, Used 7.96 GB.
VM size 567.52 GB, Page ins 270.8 MB, Page outs 108.2 MB, Swap used 505 MB

This is the data reported of the same application tochnog solving the same problemwithout using a different solver and NOT using the Accelerate framework.

Tochnog Real Memory 1.96 GB,
System Memory Free: 4.52 MB, Wired 382.1 MB, Active 2.69 GB, Inactive 416.2 MB, Used 3.47 GB.
VM size 148.60 GB, Page ins 288.8 MB, Page outs 108.2 MB, Swap used 2.5 MB

I can not understand the disparity in the behavior for the same case. As I said before, the only difference is the use of Accelerate in the first case. Also, as you can see, I thought that 8 GB of ram memory was a lot.

Your help will be greatly appreciated

Best regards,

F Lorenzo
 
Try to download the application the application Yasu and run all the routines. Let the program reboot your Mac and then upon that reboot immediately manually reboot again to completely rebuild your Mac's startup/shutdown system cache. This should help, Good Luck.
 
I am running what I know is a large problem for a scientific application (tochnog) a finite element solver that runs from the Terminal. The application tries to solve 1,320,000 simultaneous linear equations. The problem starts when I use the Accelerate Framework as the Virtual Memory size jumps from 142 G to about 576 G after the library (LAPACK) is called to solve the system.It does not do it if I use a solver that does not calls LAPACK inside Accelerate.

The machine is a mac pro desktop with 8 GB of ram, the 2.66 GHz Quad-core Intel and the standard 640 GB hard drive. The system tells me that I have 487 GB free or available on my hard drive.

Pretty simple math. Obviously this app requires a ton of virtual memory which you are not giving it. I'd move up to at least a 1TB drive. You can even pop the 1TB drive into one of the other 3 drive bays and point the app to use that drive for virtual memory.
 
Back
Top