lundi 11 janvier 2021

How can I cause a Memory Error in python 2.7?

I'm working on a system that has about 128KB of RAM, one of my scripts occasionally causes a ERRNO 12 Cannot Allocate Memory error.

I have a few solutions I want to test.

But how can I replicate the problem when it seemingly happens randomly once a day?

Any bad scripts that will cause ERRNO 12 Cannot Allocate Memory error?

Most posts are trying to solve Memory errors, I want to cause one to test the robustness of my code.

Aucun commentaire:

Enregistrer un commentaire