Hi,
I have the following memory problem with maple 12 on mac (intel) which (I guess) should be known already, so hopefully someone can give me a quick solution to it:
I can not rise via kernelopts(datalimit=blabla...) the soft datalimit above 500 mb.
("Error, cannot raise the datalimit above the hard limit". )
This is quite weird, since I have for sure more physical memory available than that...
The suggested solution for this problem according to the maplesoft FAQ (only for PPC !?!) is to edit a file named mserver_ulimit ... unfortunately this does not seem to help !
Any other suggestions ?
Thx
Dan
Exact same problem
Hi,
I have the exact same problem on my Macbook with Maple 12. Does anybody know what to do? New computer, newest Maple, but I can't use my RAM...
Dan, have you tried to contact technical support about this?
Thanks,
Florian
Not yet... Last time I
Not yet... Last time I contacted technical support about another maple problem was not very helpful... took ages for a reply and without useful information... in the end I needed to find a way by myself to circumvent (not solve) the problem ... anyway, seems this time I have to try my luck again with the support...
Let me know
<p>Let me know what you find out. I found a way to reduce to amount of memory needed. But it still sucks that you can't use what you paid for.</p>
Response from Tech Support
I now got this response from the support team. I haven't tested it yet. Here is what the wrote:
Dear Florian,
on a Macintosh you have to change this limit by editing the following
file:
/Library/Frameworks/Maple.frameworks/Version/12/bin.APPLE_UNIVERSAL_OSX/
mserver_ulimit and the mserver_ulimit32 files in a text editor and
editing the line:
ulimit -d 524288 || ulimit -d 409600 || ulimit -d 307200
to something like:
ulimit -d 1000000 || ulimit -d 409600 || ulimit -d 307200
The first number sets the maximum amount of memory allowed for the
kernel, in KB.
It may be necessary to change the file permissions on the mserver_ulimit
file so you can save your changes. You can do this by using the context
menu (right-click) for the file and selecting "Get Info". The
permissions for the file should be set to read & write.
Some users have found that it may also be necessary to run Maple from a
terminal session in order for this to take effect. If that is the case
you can do the following:
1. Open a terminal window, navigate to the Maple bin directory
/Library/Frameworks/Maple.framework/versions/12/bin
2. Issue the command "ulimit -d #"
3. Launch Maple using "./xmaple &"
Where # is the amount of memory you want to have Maple be able to use.
You can either use the number you want or you can have unlimited where
it will use up to the system maximum.
Incidentally you can check in a Maple session how much memory Maple will
use before the kernel generates an allocation error by using the Maple
command
"kernelopts(datalimit);"
I hope this helps. Please let us know if you have any questions.
Regards,
Ian
Maplesoft Technical Support
www.maplesoft.com/support/