General :: Visibility Of Freed Memory?
Jul 7, 2010
How would I demonstrate that the prior content of a memory resource that has been allocated to one user process is no longer visible when that memory resource is freed and reallocated to another user?
View 2 Replies
ADVERTISEMENT
Apr 19, 2010
I have an application that has pretty large memory profile. The general program flow is as follows:
Code:
main:
do 10 times:
[code]....
View 9 Replies
View Related
Nov 8, 2010
In one of our core dump we have the followings in the core back trace:
#0 0xb77bf947 in raise () from /lib/tls/libc.so.6
#1 0xb77c10c9 in abort () from /lib/tls/libc.so.6
#2 0xb77f56ba in __fsetlocking () from /lib/tls/libc.so.6
#3 0xb77fcf7f in mallopt () from /lib/tls/libc.so.6
#4 0xb77fd022 in free () from /lib/tls/libc.so.6
It occurred in a memory block free operation. From our analysis, there seems no issue relate the the memory block it self. The memory pointer pointed to the right memory block to be freed and the contents of the memory seems right (not corrupted), in one world, there is nothing obviously wrong. Does any one have any ideas what could be wrong when seeing about?
View 1 Replies
View Related
Jul 23, 2010
I did a rm on a file that was 63GB, but then when i do a df -h afterward, it doesn't reflect that file being removed.
View 5 Replies
View Related
Mar 28, 2010
I am now venturing into the web development side of things and had a couple of questions:1 - How can one increase website visibility on a google search or in any search engine or just in general2- How can this be done the cheapest way possible.3 - Is there any decent tutorial available?
View 3 Replies
View Related
Oct 31, 2009
I have been having mysterious problems with my comp recently and I think it might have to do with my OS not releasing filespace. Previously, my OS partition was full, then I deleted/moved some files, but now it says that still no space is available:
[root@cluster log]# df -h (simplified):
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 7.9G 7.6G 0 100% /
/dev/md0 459G 110G 327G 26% /export
[root@cluster log]#
The OS being /dev/sda1 (I am 99% sure, didn't set it up originally) and is CentOS4. As you can see, I have only used 7.6GB, and I should have 300MB available. Only thing I can think of is that when it was full, I moved matlab from there to the /export drive and added in a symbolic link to where it was on the OS drive so it would still work ok. Could this be why the space is not being freed up? We are in the process of installing a 16TB drive so we can free up some space or expand the partition, but somebody else here at work is handling that, so some other option that I could do would be best.
View 5 Replies
View Related
Apr 4, 2011
I need a script/tool/whatever to toggle visibility of a specified window. I'm using Ubuntu with GNOME and compiz. I found wmctrl which can maximize, minimize windows and so on, but it couldn't make a window "hidden". There is even a option for it, but it doesn't work (neither for me nor for this guy creating this manual: [URL]
So my question: Is there another way to toggle visibility of a window? Any tool for that or even any commands for a bash script?
View 3 Replies
View Related
Oct 18, 2010
I'm trying to run a command or rather a shell script provided by a vendor that installs its products. The script is "installscape". After running the script, the command prompt returns, a window for installscape pops up but immediately closes. No other messages or notification is provided. This used to work on this machine, so I'm being told by the vendor that it's my OS install. Is there any way I can get more visibility into what's going on as I run this?
View 1 Replies
View Related
Dec 21, 2009
so, last night i checked my e-mail, jumped on facebook for a minute and went to bed. i got up this morning and my computer seemed frozen; no mouse/keyboard, no network visibility.....nothing. the screen was just frozen. tried too ssh into it to reboot, but the network wasn't up on it. i had to hard reboot. NOW, it just reboots forever....and ever....and ever. i have a WinXP partition on there along with my F12 and that wont boot either. selecting a previous kernel does nothing either. it wont even boot off the F12 install DVD. just keeps rebooting. I've never had this happen to me. so, it seems like a hardware thing to me, but i dont know if its my mobo or the drive. i suspect a mobo issue as the drive still spins up and gets me to the grub menu.
View 2 Replies
View Related
Apr 20, 2010
I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)
View 4 Replies
View Related
Mar 18, 2011
I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.
View 1 Replies
View Related
Aug 22, 2010
This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s)When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.
View 2 Replies
View Related
Jan 17, 2010
I found from command 'top' that 8GB memory are used. However, using command 'ps' with some options to grep the running processes and then summing up the memory used by the running processes are less than 2 GB. Where has the used memory gone ?
View 7 Replies
View Related
Dec 18, 2010
10.04 with LXDE via Synaptic (not actually Lubuntu). I just noticed that in the dialog LDXE Main Menu / Preferences / Main Menu
- the LDXE Main Menu / System / Administration submenu is set as visible, but is actually HIDDEN
- the LDXE Main Menu / Applications / System Tools / Configuration Editor entry always remains VISIBLE, no matter if set as visible or hidden.
So it seems that visibility settings and actual visibility do not stay in synch. Is there a way to resync, either way, visibility settings and actual visibility? Or, which config file(s) may contain error?
View 5 Replies
View Related
Feb 7, 2011
Fedora 14 xfce
HP Mini 210
I am looking to buy some memory for my netbook. Currently I have 1 GB of DDR3 memory. However, the specification says that 2 GB of memory is the max. However, when I do the following it says that 4GB is the max:
[Code].....
View 3 Replies
View Related
Jan 11, 2010
let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.
View 3 Replies
View Related
May 3, 2011
I am looking for free database that has low memory usage and innodb and memory like engins that has C API and support trigger and client/server support for using in embedded linux systems.
View 8 Replies
View Related
Mar 21, 2011
I am new to C and linux. My code below does arbitary writes but I cant figure out where or how it does it.
I am calling the insertNode() function with seq = 'MISSISSPPI$' and alphabets = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ$'
Code:
Weird behaviour I should mention is that when I check for NULL pointer in node->child[index], the unassigned values are not null anymore, they point to arbitary memory.
View 12 Replies
View Related
Feb 3, 2010
we found that if we use 'top' to show the memory usage of a server (SuSe Linux 10), we can get virtual memory usage as well as 'Resident memory' usage. For virtual mem or a particular process, it is around 1.1GB, which is large but for resident memory, it only consumes 300MB. Are there anyone who knows what the differences are? I would also like to know whether the difference (1.1GB - 300MB) = 800MB are actually available for use by other applications in the system.
View 1 Replies
View Related
Apr 19, 2010
I get this error when I run "sudo apt-get install python-software-properties"
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
fork failed: Cannot allocate memory
E: Sub-process /usr/bin/dpkg returned an error code (2)
I'm trying to install deluge via ssh and my vps has 512mb ram and is only using 11% of it prior to running the code.
View 2 Replies
View Related
Apr 13, 2010
How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?
View 2 Replies
View Related
Oct 20, 2010
I am monitoring physical memory in a server I administer, and my hardware provider told me they had increased physical memory size to 4Gb... However, using several tools (free -m; top; dmesg | grep Memory; grep MemTotal /proc/meminfo I discovered that I actually have 3Gb, not 4... But, my doubt comes from the fact that dmesg | grem Memory tells me I have 3103396k/4194304k available The first number is effectively 3Gb, but the second one, is 4! so, why I am looking at this two different numbers?
View 1 Replies
View Related
Jan 29, 2011
I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.
View 9 Replies
View Related
Nov 22, 2009
I am writing an application that wants to access periphals registers outside the standard (allowed) memory area.
Doing so gets me "segmentation fault".
I know, this is natural behaviour.
One way of getting around this is writing the module which has to be loaded by linux. I will consider this some time later.
For now, I want to come to some quick result and allow linux or gcc compiler to write to those memory areas of periphals. Is there a direct way to do so?
View 3 Replies
View Related
Aug 25, 2010
Is that possible that SHM shared memory is counted as cache memory on Linux with kernel 2.6.18?If find it really odd since this memory is not file backed, but I have a piece of code that loads data using shm_open+mmap, and it generates an amount of cache memory in /proc/meminfo that corresponds exactly to the amount of shared memory (I load that data from a file but I am using posix_fadvise(fd,0,0,POSIX_FADV_DONTNEED) to ensure this file is not cached and I made sure that it is working as expected). As far as I know SHM memory was not tagged as cache memory with kernel 2.6.9.If it is the case it is really unfortunate since normally cache memory can be considered to be part of the "available" memory since it can be flushed promptly but this is clearly not the case with SHM memory... Is there an easy way to get the total amount of used SHM memory on a system?
View 4 Replies
View Related
Jan 8, 2011
I have been setting up a vps I got out with bhost.net, with CentOS installed. I've been learning and have set up everying I need with the exception of ftp/sftp.
Using yum I installed vsftpd and ran into problems, thinking it was something I might of done I did a fresh install of CentOS and I still recieve the same problem on a fresh install so it is nothing I have done to the server.
The problem is when connecting via a sftp client I get an out of memory error. This error is listed in the putty faq ( url ) under A.7.5, there is a brief explaintion of the cure under A.7.6.
there is mention of a login script but I don't know where this is located. I'm a novice at Linux but by no means incompotent when it comes to computing.
View 5 Replies
View Related
Sep 22, 2010
Fairly new to Linux, using Red Hat ES 5.5 with 16GB of memory.Looking at migrating the server to a VMWare VM, but I need to figure out how much of the 16GB I am actually using.What are some ways to tell the true amount that I need.I know that Red Hat allocates most of the memory just so it is ready to be used, so that throws me off a bit.
View 6 Replies
View Related
Feb 11, 2010
I'm a bit confused on how the memory figures add up in top. If I've understood correctly, the amount of "really" used memory is total - free - buffers - cached. In the example below that would be 14370248k - 75736k - 178892k - 10459552k = 3656068k, which is 25% of the total memory (3656068/14370248). Again, if I've understood correctly, the numbers shown in RES and %MEM columns show the amount of physical memory a process "really" uses. The sum of the RES values of just httpd processes is 7254m, or 7428096k (7254*1024), which is 52% of the total memory (7428096/14370248). The sum of %MEM values of httpd processes is 53%, close enough. How come the summary part shows just 25% of memory being used, while httpd processes alone claim to use over 50% of memory? What am I missing here?
[Code]....
View 1 Replies
View Related
Feb 21, 2010
I need a Linux distribution which has got drivers for pendrives and could play the music.
What version could you recommend for me?
View 5 Replies
View Related
May 4, 2011
I'm running a quite complex model, and it's taking me around a week to complete the run, and one of my colleagues says that he can run it in one-two days. After looking to several forums to know how does it work, I've seen how the memory is used (using the command ps -A --sort -rss -o comm,pme), and the model run just takes 0,3% of the memory. I bought a 4 cores and 8gb of RAM laptop to be able to run the model fast, but I don't know how to allocate the use of the memory to concentrate it in developing that task. Is that possible?
View 2 Replies
View Related