PeterBooker / wpds

Slurps the latest stable version of every Plugin and/or Theme in the WordPress Directory.
GNU General Public License v2.0
20 stars 4 forks source link

Memory Leak #1

Closed PeterBooker closed 7 years ago

PeterBooker commented 7 years ago

There is a memory leak in the current release (v0.1.0), which causes the memory used by the binary to expand by around 50mb every 10 minutes.

I will do some profiling to check, but it seems likely related to files (not properly closing file connections).

PeterBooker commented 7 years ago

After debugging this appears not to be a memory leak after all. Past an hour of downloading memory usage began to go down, I assume the average plugin size (of the current X number of downloads) increases as you first begin a new download.