PDA

Bekijk de volledige versie : oleg + optware = memory leak?



aamaster
15-04-2008, 00:22
Hi,

I just installed oleg with some optware packages to a wl-500w and seem to be experiencing memory leaks everytime I execute a new command or program. When I do a "free" to see how much free memory I have left after running a new program, it constantly eats up a bit of memory until I run out of memory completely.

I'm using a USB flash key as my optware drive (/opt path). Anyone else experiencing anything similar? Thanks.

Update: Interesing...I notice that if I "umount /opt", I get all the memory back instantly.
Anyone have any ideas what I'm doing wrong?

Jim

engy
15-04-2008, 06:09
try to summarize free memory and cached memory. Look in /proc/meminfo

aamaster
16-04-2008, 03:09
Looks like it's my bad. I didn't understand the difference between cached and free memory. For larger sized packages like vim, python, etc, a swap drive is required. I'm using a USB drive now, and things are good. :)