HP Forums

Full Version: How to destroy a GROB?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wrote a program that loads a large image into G2. But after the program is executed, I only have about 20MB of free RAM, which I believe is caused by GROB not being destroyed. If I try to run the program again, the calculator will crash. I have spent quite some time searching on the internet about how to destroy GROB or free up RAM but I couldn't find anything.
Bonjour
Peut ĂȘtre DIMGROB_P(Gx,0,0);


Hello
Maybe DIMGROB_P(Gx,0,0);
(10-01-2023 11:48 AM)Overlord Wrote: [ -> ]I wrote a program that loads a large image into G2. But after the program is executed, I only have about 20MB of free RAM, which I believe is caused by GROB not being destroyed. If I try to run the program again, the calculator will crash. I have spent quite some time searching on the internet about how to destroy GROB or free up RAM but I couldn't find anything.

The Help screen for G0-G9 says, "Variables G1 to G9 are temporary and are cleared when the calculator turns OFF." So one simple workaround is to turn the calculator off and back on.
(10-01-2023 03:28 PM)Tyann Wrote: [ -> ]Bonjour
Peut ĂȘtre DIMGROB_P(Gx,0,0);


Hello
Maybe DIMGROB_P(Gx,0,0);

Thank you! It worked
Reference URL's