I have been running my application successfully in CentOs6.6. Recently, the hardware(motherboard and RAM) was updated and my application is getting killed now without any reason at all. File and ldd output Output of strace GDB While debugging, observed that the bss memory is huge(~6GB). The system has 4GB RAM and I think this could be the reason for the
Tag: memory
Increasing memory through terminal in linux through “-XX:PermSize=192m -XX:MaxPermSize=2g -Xms2g -Xmx2g”
I am running java developer IDE and in a process of trouble shooting a module . For this i have increased the logging memory of the tool, Now when logging it error is coming on console as i am using below command for increasing memory earlier it is my system memory is 16 GB through the command cat /proc/meminfo but
Postgres latency issues during memory compaction in Ubuntu Linux
We’ve recently upgraded our EC2 instance that hosts our Postgres database to an i2.8xlarge with 244GB of memory (this is to utilise the large amounts of ephemeral storage it comes with). Since upgrading, we’ve been having some issues with latency in Postgres that appear to be due to memory compaction that’s occurring in the Linux kernel. We’re using PostgreSQL 9.3
How to predict a size of a process’ core file before generating it with GDB?
How can the size of the core file be predicted based on for example /proc/pid/maps, /proc/pid/coredump_filter, values shown by top like VIRT RES and so on? Generally speaking, on what does the size of the core file depend and what exactly does the file contain (which parts of virtual address space?)? I’m a little confused by a fact that the
Pointers and virtual memory [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago. Improve this question According to my system’s cpuinfo file, each processor in my system has a 39 bit physical address size and a 48 bit virtual address size.
mmap: Cannot allocate memory
I have a C program that computes the page fault service time in C. For this program I have 2 large files (of less than 3GB each – almost the size of the RAM) I get the following compiler warnings: When I run it with the command I get the error What does the code do? We map both the
Does Linux have a page file? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
C++, addresses in array [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 years ago. Improve this question I have some sort of funny question about addresses in C++. I have such code: This code works, but allocation of addresses fears me. Does
check if a memory page is loaded into memory
Given a virtual address, I want to know if the memory page mapped into this virtual address has been loaded into memory or in disck. Is there anyway to do check that in user level program? I am using CentOS 7. Answer You can use the mincore system call for this. mincore – determine whether pages are resident in memory
How is the code segment shared between processes in Linux?
I have read about the copy-on-write principle which occurs when a new process is being forked in Linux. I have also read about the fact that if multiple instances of one program are running at the same time, only one instance of the program code can be found in the memory. I was wondering whether this is a direct consequence