7 Replies Latest reply: Oct 11, 2012 10:18 PM by BDAqua
William H. Magill1 Level 2 Level 2 (200 points)

I'm working with a Graphics heavy MMO -- It expects to be able to use over 4GM of memory.

 

My 27 inch iMac has 4GB of physical memory.

 

However, OSX page-faults every time the application wants more than 3.7 GB of memory.

Crashing the dispatch queue.

 

So far, the maximum number of Swapfiles I've "caught" is 6 for a total of 3 145 728 - 512 byte blocks.

 

ls -als /private/var/vm

total 3145728

      0 drwxr-xr-x   9 root  wheel         306 Oct 11 09:43 .

      0 drwxr-xr-x  26 root  wheel         884 Jul 28 17:43 ..

  65536 -rw-------   1 root  wheel    67108864 Oct 10 14:55 swapfile0

  65536 -rw-------   1 root  wheel    67108864 Oct 11 09:44 swapfile1

131072 -rw-------   1 root  wheel   134217728 Oct 11 09:44 swapfile2

262144 -rw-------   1 root  wheel   268435456 Oct 11 09:44 swapfile3

524288 -rw-------   1 root  wheel   536870912 Oct 11 09:44 swapfile4

1048576 -rw-------   1 root  wheel  1073741824 Oct 11 09:44 swapfile5

1048576 -rw-------   1 root  wheel  1073741824 Oct 11 09:44 swapfile6

 

From the consistancy of the crashes, it's clearly an issue with Virtual Memory allocation.

 

What I'm looking for is any explanation of the VM system in Mountain Lion.

Everything I can find is ancient, at best it describes Snow Leopard or Lion, and I know that Memory Management has changed in Mountain Lion.


iMac, OS X Mountain Lion (10.8.2), iMac Core i7 2.93GHz 4GB