yaoge Posted December 23, 2016 Share Posted December 23, 2016 I used the tool :https://github.com/BabylonJS/Babylon.js/tree/master/Tools/MakeIncremental. For the cut up of the babylon file has 226mb, the working environment win7 64; memory size: 16g; visual studio 2013; I monitor the changes in memory, when the program takes up nearly 2g when stopped. I have added app.config: <runtime> <GcAllowVeryLargeObjects enabled = "true" /> </ Runtime>; But still not, how do I do. Thank you! The following is an error message: Snap to System.OutOfMemoryException HResult = -2147024882 Message = throws an exception of type "System.OutOfMemoryException". Source = mscorlib StackTrace: In System.String.CtorCharArrayStartLength (Char [] value, Int32 startIndex, Int32 length) In Newtonsoft.Json.Utilities.StringReference.ToString () In Newtonsoft.Json.JsonTextReader.ParseNumber () In Newtonsoft.Json.JsonTextReader.ParseValue () In Newtonsoft.Json.JsonTextReader.ReadInternal () In Newtonsoft.Json.JsonTextReader.Read () In Newtonsoft.Json.Linq.JContainer.ReadContentFrom (JsonReader r) In Newtonsoft.Json.Linq.JContainer.ReadTokenFrom (JsonReader reader) In Newtonsoft.Json.Linq.JObject.Load (JsonReader reader) In the MakeIncremental.Program.ProcessSourceFile (String input) location c: \ www \ babylonjsExploer \ Babylon.js-master \ Tools \ MakeIncremental \ Program.cs: Line number 236 InnerException: what should i do?,thank you! Quote Link to comment Share on other sites More sharing options...
Nabroski Posted December 23, 2016 Share Posted December 23, 2016 i don't use the MakeIncremental yet, - just a suggestion. In general: To allocate more memory you need a x64 application. yaoge 1 Quote Link to comment Share on other sites More sharing options...
yaoge Posted December 24, 2016 Author Share Posted December 24, 2016 yes,i have solved the question by set cpu x64. but it used up my memory. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.