Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

An Unknown error occurred while MAXScript was performing garbage collection

2 REPLIES 2
Reply
Message 1 of 3
MrIronDream
2203 Views, 2 Replies

An Unknown error occurred while MAXScript was performing garbage collection

Today I used MaxScript for the firs time to bake one of my populated figures into the scene.

 

Ever since I attempted this I have recieved persistent warning screens stating:

 

"An Unknown error occurred while MaxScript was performing garbage collection.

 

If you get this errror multiple times, recommend restartin max"


Well...I restarted. Same result
Then I started the scene again. Still happening.

I even went as far as to delete all my preferences and reinstall Max.

 

It's still going on...

 

Ocassionally a message will pop up saying "successfully interrupted"

The following is also written in MaxScript listener when I opened it just after seeing the message:

Welcome to MAXScript.

-- Error occurred in ActionCreateFlow(); filename: C:\Program Files\Autodesk\3ds Max Design 2015\stdplugs\stdscripts\CrowdAreaDraw.ms; position: 2360; line: 137
--  Frame:
--   currentTool: undefined
-- Error occurred during fileIn in "C:\Program Files\Autodesk\3ds Max Design 2015\stdplugs\stdscripts\CrowdAreaDraw.ms"; line number: 137
** interrupted **

 

 

But I don't know what's happening or how to stop it.

 

 

Please Help!

 

 

[Image of warning attached]

2 REPLIES 2
Message 2 of 3
paulneale
in reply to: MrIronDream

I suggest that you increase the heapSize for scripts that require it, by default it is quite low. 

 

You can do this in the preferences or you could force the setting at the top of the script. 

 

heapSize=52428800L

Paul Neale

http://paulneale.com


Paul Neale




EESignature

Message 3 of 3
MrIronDream
in reply to: paulneale

Many thanks Paul.

 

I will attempt this when I return to 3DS (currently other commitments are keeping me busy)

 

 

 

What 'quantity' is 52428800L?

I was expecting something in the format of kilobytes, gigabytes etc. 

I'm just thinking if I wanted to experiment with this setting later on, how do I judge what the right value is?

What would it be set to as default if I wanted to return to default, for example?

 

Best, 

MID

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report