Weird memory usage

i'm making a Universal Turing machine emulator (google it).

it uses ever increasing amounts of memory, not much more to say.

it obviously shouldn't

https://pastebin.com/ZNKADezL turingmachine.pde

https://pastebin.com/isBwGXmD GUI.pde (currently unused)

https://pastebin.com/guddfXsM computation.pde

https://pastebin.com/nms3733V data.pde

if you look in the main file there is a PGraphics called p.

when i use this to animate writing, the memory usage goes skyhigh, eventually chrashing.

i can't use it for any longer than three minutes like this.

Answers

Sign In or Register to comment.