Go Down

Topic: Memory creep any suggestions? (Read 546 times) previous topic - next topic

AWOL

Without a memory fault exception, implementing VM is going to be tricky.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

ofransen


I seem to be suffering memory creep


Do you mean you consume a bit more memory after ever loop?

If so one way to find out what is happening is to simplify your program bit by bit. For example take out averageing() and see if THAT gives you memory creep problems. Then take out webServer() and see if THAT gives you problems.

Do this on a copy of your program so that when you find the culprit you can correct it in your original.

It may be neither, but it would be good to eliminate them.




Owen F. Ransen

Go Up