CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
611 stars 142 forks source link

Translate ``ERROR:std::exception: bad allocation`` to "out of memory" #320

Open StevenMarston opened 4 years ago

StevenMarston commented 4 years ago

GCode::Tool Path bounds ((0,0,-0.127), (85.4862,25.4406,12.7)) dimensions (85.4862,25.4406,12.827) Computing surface bounded by ((-2.20181,3.04875,-2.3413), (92.2575,29.0924,0.107949)) at 0.0816416 grid resolution ERROR:std::exception: bad allocation

Works fine for medium and below with no error messages but doesn't yield the detail that I need.

I tried to look for a way in the forums for search for previous similar issues but never figured that part out.

close your eyes.txt

StevenMarston commented 4 years ago

I should've said the previous issue is on the Version 1.2.0 32 bit version. It runs and renders fine on the Version 1.2.0 64 bit. Might help a little bit having that piece of information.

jcoffland commented 4 years ago

ERROR:std::exception: bad allocation means it ran out of memory. At higher resolutions the simulation can require very large amounts of memory.

StevenMarston commented 4 years ago

Thanks for the quick response! Yeah, that makes sense. Guess it's time to upgrade. Works fine on the shop's PC which has more memory. Appreciate you!

Regards, Steven

On Fri, Feb 7, 2020 at 3:14 PM Joseph Coffland notifications@github.com wrote:

ERROR:std::exception: bad allocation means it ran out of memory. At higher resolutions the simulation can require very large amounts of memory.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CauldronDevelopmentLLC/CAMotics/issues/320?email_source=notifications&email_token=AGUDLAHD5VYCB5VGXOYYYN3RBW6ITA5CNFSM4KRQGGDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELEORDA#issuecomment-583592076, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGUDLAA6ZTCWHISB2QKRNL3RBW6ITANCNFSM4KRQGGDA .