Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [outofmemoryerror]

The tag has no usage guidance.

1
vote
3answers
54 views

How to deal with out of memory issues on multi user systems?

When a process tries to allocate more memory than available, it is usually very hard to handle this situation in a good way. In some cases programs might be able to free non-essential memory (e.g. ...
0
votes
0answers
28 views

Increase in memory utilization after upgrading to httpd 2.4.34 from 2.4.23 for 7.2

We upgraded from httpd 2.4.23 to 2.4.32 . After upgrade, we noticed mpm module got changed from preforx to event in 2.4.23 $ /apps/httpd.2.4.23/bin/httpd -M | grep mpm mpm_prefork_module (...
1
vote
0answers
65 views

httpd hogging all memory until server crash

The server in question is used for processing data into reports, it has three cron jobs which execute every minute to check the process queue and if anything is found they'll keep running until the ...
0
votes
0answers
137 views

Irregular out of memory with AWS Linux AMI LAMP Stack

LAMP Server Irregular out of memory. Need help to find out what it cause. When it happen, unable SSH to the server. Restart httpd or mysqld cannot resolve the issue except fully stop the server and ...
0
votes
0answers
216 views

How to collect Process memory dumps in Windows

I am looking for a way to collect process dumps of user process in Windows using powershell. Essentially, when process is going beyond specified memory limit or process is about to get suspended ...
0
votes
1answer
83 views

Is it safe to continue working during btrfs balance operation?

I have a rocks cluster system with a NAS using a btrfs file system in a RAID 10 configuration. Recently we have been facing "no space left on device" errors that I have finally tracked down to ...
0
votes
0answers
42 views

Out of memory and hung_task_timeout_secs issue

My web server (VM) was running perfectly with no issues and we made no changes in the configurations. Suddenly, we started finding issues accessing (eg. request to website goes timed out) the server, ...
1
vote
1answer
16k views

Native memory allocation (mmap) failed to map bytes for committing reserved memory

I am running a download server in AWS t2.micro instance & I have configured max heap of 512 MB & min heap of 256 MB for my java process. I am performing a migration kind of process in a single ...
0
votes
2answers
74 views

How can I allocate more memory on my server?

I am pulling down real estate properties from the Toronto Real Estate Board and I am using a LAMP stack with PHRETS on a 2GB Digital Ocean VPS. When I pull down the properties, I run some processes on ...
1
vote
2answers
122 views

Weeding out the OOM and consecutive mysqld crash

I am trying to weed out the out of memory issue that seems to be hitting mysqld service. The service dies totally randomly - sometimes once a week, sometimes every two days. My VPS has 6GB of RAM and ...
3
votes
2answers
114 views

Strange PHP error: “Allowed memory exhausted”

I tried to set up a new local XAMPP installation recently, and wanted to install the Luna Forum software on it. But after finishing the installation, I got prompted with this error: Fatal error: ...
0
votes
0answers
205 views

Can't increase Java heap in Debian

I'm setting up an environment to run some web apps developed in Grails, and deployed in Tomcat. I made the default configuration and the first web app deployed just fine, but after logging in, the ...
1
vote
1answer
745 views

MySQL (MariaDB) crashing

Good morning - I have reviewed a previous post regarding changing the performance schema to "Off in the configuration settings. It looks as though our configuration is already set to this. So not sure ...
1
vote
0answers
216 views

memory usage reporting by kernel in log when task is killed due to OOM

My task inside Docker container are getting killed due to OOM. Here is a log from /var/log/messsages. Feb 17 19:01:24 ip-10-0-1-85 kernel: [16211.346602] uwsgi invoked oom-killer: gfp_mask=0xd0, ...
0
votes
1answer
265 views

Idle Jenkins takes up approx 700 MB of RAM

I just did a fresh install of jenkins master on a private virtual server having 1 GB of RAM. I have not yet installed anything else besides Jenkins on that server. I reduced the number of executors to ...
0
votes
1answer
2k views

Jenkins build fails with OOM: unable to create new native thread

I am setting up a jenkins instance on a VServer with 2GB RAM and nothing else running (usage < 200MB) running CentOS 6.7. When starting a jenkins build on said instance, I always get this error ...
0
votes
1answer
346 views

Server crashing daily at 3:40am

I have a cloud server with rackspace. It is CentOS release 5.10 (Final). 40GB storage, 1gb ram, 2gb swap. I am running the kloxo control panel to manage the virtual hosts. Every day it eats up all ...
0
votes
0answers
66 views

Apache on CentOS as MP3 server quickly runs out of memory

I am using a HostWinds CentOS 4GB memory VPS with Apache as a file server. Its sole purpose is to stream out MP3 files. After about 10 minutes of serving MP3s to about 100 simultaneous users, Apache ...
0
votes
1answer
129 views

Memory errors despite plenty of headroom (Ubuntu VPS)

I'm getting all sorts of memory-related errors from python and php, plus segmentation faults - yet the output of free -m constantly shows plenty of spare memory - i.e. greg@greg-brown:~$ free -m ...
1
vote
0answers
198 views

System-managed pagefile uses all available space, allocated physical memory unused

The problem: Something on our virtualized database server is using massive amounts of our pagefile. We noticed it about a week ago when the OS drive went from 30+GB of free space to around 500KB of ...
0
votes
1answer
285 views

Rackspace Ubuntu 12.04 apache2 causing Out of memory

After less than 2 hours uptime, my Rackspace server (1CPU 1GB RAM 40GB) memory is used up by /usr/sbin/apache2 -k start which ends up killing my wordpress site. QUESTION 1: Why is this happening ...
5
votes
3answers
6k views

Mysql crashing, oom-killer, out of memory, tuning issues?

I just moved all of my websites to a new server with 4GB RAM. Almost immediately, mysql started crashing, and at one point, didn't reboot which caused a major outage (since I didn't notice until ...
1
vote
1answer
593 views

Courier IMAP 4.6 can't allocate memory when opening INBOX

I've got courier-imap 4.6.0-2.1ubuntu1 running on Ubuntu 10.04.4 LTS on a virtual/cloud LAMP machine with 1GB RAM. There is a particular (unmaintained) email address which has 100,000+ emails, all in ...
1
vote
1answer
1k views

Why Kernel Low memory zone is less then 896 MB?

In my system Lowmem of kernel (NORMALZONE) is 597424 kb length. As far as I learn, it should be about 890 MB at max. Why this system uses ~590 MB? Is it tunable? I a asking this because, I'am facing ...
3
votes
1answer
610 views

Out-of-memory kernel (3.2.0) panic (Debian 7.3) even though offending process was killed

While attempting a backup of a pretty large folder (450G) to a 2TB drive that's in that server solely as a backup destination rdiff-backup (version 1.2.8 - last marked stable) caused a kernel panic. ...
1
vote
2answers
709 views

Tomcat 5.5: “Exception processing JAR at resource path” leads to java.lang.OutOfMemoryError

We have an old server running Tomcat 5.5. Yesterday we deployed a war file, and then it started to crash. Looking at catalina.date.log I found some java.util.zip.ZipException and then java.lang....
16
votes
1answer
23k views

How to read oom-killer syslog messages?

I have a Ubuntu 12.04 server which sometimes dies completely - no SSH, no ping, nothing until it is physically rebooted. After the reboot, I see in syslog that the oom-killer killed, well, pretty ...
3
votes
0answers
113 views

Lack of OutOfMemory Exceptions in Tomcat 7

This is an odd question. I'm a Sys Admin and I've been maintaining several Tomcat instances for a few years now. We have been running our webapps in Tomcat 5, 5.5, 6, and now 7. I have monitoring ...
1
vote
2answers
2k views

Out of Memory Errors on Windows 2008 Virtual Machine

I have a server which is configured as follows: Physical Server (16GB RAM): Windows Server 2012 Standard Edition with Hyper-V Role installed 2 VMs running on this host server: 1 x Windows Server ...
1
vote
1answer
442 views

CentOS webserver memory overflow - cannot log in

Few days ago, my CentOS 6.2 webserver with ISPconfig 3 went down to the extent I wan't able to log in via SSH nor using a console. The console was full of messages "out of memory, killing process, ...
0
votes
1answer
1k views

Php5-fpm too much memory usage nginx and ubuntu 11.04 32bit

I recently got vps with 512MB ram. I install nginx 1.2.4 with ph5-fpm and a simple wordpress installation . I currently have no traffic as its in development mode.But still It shows 495MB used and 80% ...
0
votes
1answer
162 views

Can the JVM(Oracle) run into an OutOfMemory error if the heap size is below the max?

I am running a Tomcat site(with an NGinx front end) that seems to be randomly running out of memory even though the max heap size is pretty large. My question is is it possible for the JVM to get an ...
1
vote
0answers
190 views

Committed memory on my tomcat server

I have a problem to configure JVM on my server. The server is a machine runs on AWS with 8G of RAM and 8 CPU. There is only tomcat6 with solr on the server. Actually I have configured JVM like that: ...
0
votes
1answer
424 views

Tomcat on port 80 fails due to OutOfMemoryError while Tomcat on port 8080 works

I have a linux server ( Ubuntu 11.10 x64 ). I run Tomcat on port 80 with root user. It has only one application ( about 8Mbs ). Whenever I start the tomcat, I get OutOfMemoryError. (Purpose of this ...
0
votes
1answer
174 views

RedHat 6 VM with 8 GB RAM - who uses the memory? [duplicate]

Possible Duplicate: Why does Red Hat Linux report less free memory on the system than is actually available? after freshly rebooting the VM "top" indicates about 0.5 GB out of 8 GB RAM are being ...
2
votes
1answer
3k views

Postgres child process eating up a lot of memory

We have a postgres 9.0 instance that is running on a pretty beefy machine (96G of RAM/24 cores). IN the recent weeks we have experienced crashes due to child processes of postgres being killed with ...
7
votes
1answer
444 views

How is this even possible? PHP memory error — allowed memory size / bytes exhausted

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1540673 bytes) in /home/appdev/glicious/Nutrition.php on line 41 If you haven't noticed, 134217728 is two orders of ...
1
vote
1answer
2k views

Apache2 process eating too much memory on 512MB VPS

I am running an Ubuntu VPS with 512MB memory. It is just the development server and so literally no traffic. Despite of that, every now and then I keep on getting Memory Exhaustion messages and my ...
3
votes
1answer
7k views

What is oom-kiler and why is it happening ? Should I avoid it?

I have a server that is now having "invoked oom-killer" many times a day ! I never saw that and even after reading tons of forums on Internet I'm still puzzled : is it a big problem ? Why is it ...
2
votes
1answer
621 views

I want to run MongoDB on OpenVZ, but crashes expected — what can I do about it?

My Server is hosted on HostEurope, a virtual server uname -a prompts Linux lvps176-28-21-237.dedicated.hosteurope.de 2.6.18-028stab095.1 #1 SMP Mon Oct 24 20:15:15 MSD 2011 x86_64 GNU/Linux They ...
0
votes
1answer
154 views

Recommended approach to limiting memory use on webserver

I have a Windows Server 2008 webserver with two web applications and two windows services. It is essential that the server never uses more than 2 GB of memory and the server can have no pagefile. What ...
0
votes
2answers
294 views

Php is not executed on a wordpress admin fresh install. Fatal out of memory

I just installed 2 versions of wordpress but none of them works : It just gives me : [Thu Nov 10 09:58:13 2011] [error] [client ] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (...
5
votes
2answers
3k views

memory&swap are full, can't ssh; any option other than physical restart?

by mistake, i executed some applications that used all memory (and i think swap) on my ubuntu server and its now crashed, SSH doesn't work and freezes. Do you know any other options other than ...
1
vote
0answers
215 views

ASP.net 3.5 application intermittently throws OutOfMemory exception when reading a 16MB text file on Windows Server 2003 / IIS 6

I have an ASP.net 3.5 application running on Windows Server 2003 and IIS 6.0 that when my code reads a 16MB file I sometimes get an OutOfMemory exception. Usually if you try to perform the same read ...
0
votes
1answer
534 views

Gentoo server with suPHP cannot create child processes - out of memory

The exact error message is this: 12)Cannot allocate memory: couldn't create child process: /usr/sbin/suphp for <php script file> This is not a VPS, it's a generic Gentoo server. There is 1G of ...
0
votes
1answer
2k views

Tomcat crashes again and again because of “Out of Memory” error"

Tomcat crashes again and again because of "Out of Memory" error". I wanted to know the exact reason why memory usage is increasing. Below is the cataline.out file errors. Stack trace of tomcat when ...
9
votes
5answers
14k views

How to reliably take Java Heap Dumps?

My team is running into difficulties when trying to take good heap dumps triggered by OutOfMemoryErrors. For specific reasons we are currently taking the dumps with jmap called from a bash script ...
0
votes
4answers
636 views

Ubuntu 7.04 VM Runs Out of Memory

I keep a Ubuntu 7.04 VM running at Linode.com to host a few web sites, e-mail lists, etc. It was working flawlessly for a long time. I don't patch it or really pay attention to it. Recently (past ...
8
votes
3answers
8k views

What causes PermGen OutOfMemoryError on JBoss?

What is the underlying cause of a PermGen OutOfMemoryError in JBoss? I am running JBoss AS 4.2.2 in my development environment, and this occurs after redeploying my web application a large number of ...