On 21 Apr 2013 , at 3:22 PM, DronE Pump wrote:
> I have encountered an interesting anomaly with RepG - I was using RepG40r13
> and I do not expect this is peculiar to that version only so I thought I
> would pose the question here.
> I only discovered this Sat when I sliced a fairly complex
> file which produced a 120Mb Gcode file but did not offer the usual option
> to write out the x3g file. When I looked at the log it was evident that
> Skeingorge had completed writing the file and then crashed. A further look
> at the gcode yielded no insights, The gcode file could be opened and saved
> but interestingly, could not be read into RepG - every time I attempted to
> read it RepG would begin then go nowhere.
> I thought this was very curious and I had not encountered it before. As I
> write this I am visited by the eerie feeling that I may read something in
> the past related to this...oh oh - don't tell me this may be resolved by
> using the "large files" option.:-P
The large models option is only relevant on Windows.
On OS X, RepG uses request the maximal heap size possible for a 32bit JVM -- 2 GB.
On Linux, you would edit the replicatorg shell script and toss in a "-Xmx 2048M" switch to
get a heap which can grow to 2GB.
Mind you, for 120MB of gcode, 2GB may not be sufficient. I don't know offhand.
However, it certainly sounds like the issue was that RepG could not get enough
VM to handle that amount of gcode. Mind you, that's not a lot of gcode IMO.
However, RepG likes to turn it all into Java object instantiations, and that
does gobble up memory.
Dan