Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why does my progarm leak?

Name: Anonymous 2010-05-08 23:16

It's written in FIOC which is supposed to manage memory for me but it kind of doesn't. All my program does is scrape a website, iterate over an arrays I build from the data I got and download a few things but after a while it grows to over 1000mb.

Fucking FIOC.

Name: Anonymous 2010-05-08 23:16

It's because you aren't a very good programmer.

Name: Anonymous 2010-05-08 23:23

OP = shithead who doesn't know that GC won't collect stuff that's still reachable.

Name: Anonymous 2010-05-08 23:30

del. Use it.

Name: Anonymous 2010-05-09 5:46

>>3
This. GC is a wonderful thing, but it's making some people stupid.

Name: Anonymous 2010-05-09 10:00

>>4
del is 90% of the time not what you want.
first off it does not deallocate anything, it just drops one reference. if your variable is referenced more than once, it will still be there.

I don't think del even does anything at all in non-CPython (Jython, IronPython, etc.) either.

the only correct answer is >>2-3.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List