Jump to content

use the Tool MakeIncremental out of memory


Recommended Posts

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:

     <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
        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


what should i do?,thank you!

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...