hi.
i'm newbie in linux.gnome warns me that i don't have enough hard space.and when i look i see that i have a 5G swap memory.
and when i look at system monitor i see that linux almost never uses swap memory because i have 4g ram.and swap will be usefull while ram is full.
i want to decrease my swap memory and make it 3g.is it possible to decrease it and add the extra 1g to the root???
I am running a C program on Linux 2.6.16 kernel. I do not think there are memory leaks in my program however the memory consumption for the program remains stable after certain operations and does not decrease. I use the 'ps v ' command to monitor the RSS value of my program.
The valgrind massif tool shows a large portion of heap is allocated by mmap in my process.
Say I've got a process using 200MB of memory, and it fork()s:
python -c "import os; data='x'*200000000; os.fork(); raw_input()"
Programs like 'top' will show each process using 200MB, with very little SHRd memory, so it appears as if the processes are using 400MB in total.
I have a strange memory behavior in an Android application I'm developing. The application is running fine, but if I look to a "task manager" in Android, like the Samsung SII task manager or the "Memory Usage" application on a Nexus 7 it shows that while using the app the amount of memory used is rapidly growing to an insane amount, like hundreds of megas (600~700MB on the Nexus 7).
Take a look at this screenshot that I took after doing free -m: http://gyazo.com/aa54d264956e56acb99024e2374de0c0.png?1340387738
I notice that I have a ton of swap memory not being used, could I convert that to something that CAN be used? I'm sort of a noob with this, sorry if it's a stupid question.
Also, when doing top as outlined in Who is using the swap memory and why?
After installation System monitor shows that memory usage is over 500 MB - pure system after start.
There are no processes which use more 20 MB of memory. Other versions of Ubuntu used about 200 MB. I'm using 64bit version. Intel i7, 16 GB of memory.
What's going on? What process are eating my memory?
Good morning,Today I noticed that I have thousands of journald error lines in my log files.Oct 15 09:40:03 localhost systemd-journald[10363]: Failed to write entry, ignoring: Cannot allocate memoryI did create the directory /var/log/journal/ which does have journal files in it.
Every process has the possibility to address 2^32 or 2^64 bits of virtual memory. The moment you request to read or to write to one of these memory address', it is converted to a physical memory location (based on the process ID) as it is sent to your L1 data cache.
I'm doing some raw socket scripting in C. Everything works fine.
However, I monitored the memory using top, and it shows that the memory used by my script is increasing over time.
I don't have that many mallocs (maybe a couple), but lots of pointers.