Runtime error: Out of scripter memory?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  01 January 2009
Runtime error: Out of scripter memory?

Happy New Year Everyone!

When rotating a number of panels using a spinner in a double nested loop I'm sometimes getting the following error...


'Maxscript Rollout Handler Exception
--Runtime error: Out of scripter memory - use options to increase'



I have tried going to the following page...

Customize/preferences/MAXscript/memory
Then changing the 'Initial heap allocation (MBytes)' to 1000 MB but it still happens?

Does anyone have any idea of what is going on?

Many thanks
 
  01 January 2009
Do you have any recursive loops going on?
What version of Max?
__________________
Tech-Artists.Org, a Community for Technical Artists

www.robg3d.com
 
  01 January 2009
Did you RESTART Max after changing the Heap Size?

The last couple of Max versions will automatically increase the Heap if memory is not enough. I run with 64MB of Heap, 32 should be enough, the default 7.5 is a bit too low.

But it sounds like you have a huge memory leak somewhere in your code. Open Task Manager and watch the memory usage while you use your script - if you are leaking memory, the graph will go up and only go down if you call GC(). Think about how you are managing your variables and whether you are doing any intensive geometry stuff like accessing the .mesh property of an object without releasing the memory afterward etc...
__________________
Bobo
 
  01 January 2009
uhh thx Bobo for the garbage collection, didn't know that before.
helped me with 2 probs at once (to unload bitmaps from the memory to make em deletable and the memload of max )
 
  01 January 2009
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:34 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.