hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
421 stars 150 forks source link

Large gcode file "kills" gCodeViewer #19

Closed Norbeck closed 10 years ago

Norbeck commented 10 years ago

When my *.gcode file size is above or around 60 MB gCodeViewer stalls.

austjancev-sugarcrm commented 10 years ago

Doesn't really kill it, but I would assume it would require around 2Gb memory to load everything =( I haven't found a way to optimize memory usage.

Norbeck commented 10 years ago

I see. Would it make any difference if I ran it locally?

And I just want to to say that the gCode Viewer is awesome!

austjancev-sugarcrm commented 10 years ago

No, you are running it locally, just fetching sources with your browser. Disabling 'Show GCode in GCode tab (memory intensive!)' might help a bit, maybe will save 200-300mb.. Just out of curiosity can you share the file that's causing the problems? Just to make sure that the issue is indeed in memory usage and not something else?

Norbeck commented 10 years ago

Alright I'll try that!

https://www.dropbox.com/s/g9d77ir4nurhc5q/fourBottlev6.gcode

hudbrog commented 10 years ago

Yep, fails due to excessive memory usage. So far I see no way to improve it save for rewriting from scratch. Sorry.

Norbeck commented 10 years ago

I was able to view my model by opening the gcode in a text editor and just chopping it up in smaller pieces.

Thanks for a great tool!