i'm not sure if makes sense or if can do, bear me.
so i'm taking input commandline in python using subcollections module. it's huge string \n indicate line breaks.
i use parts of string create list of data want.
is there way discard huge string memory, telling memory don't need anymore , can throw away?
remove references, set null them.
if you're in hurry, try calling directly (after remove references)
gc.collect() if local, when function exits, string shall elegible gc too.
Comments
Post a Comment