Questions tagged [outofmemoryerror]

59 questions
28
votes
2 answers

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 much everything. There's a lot of detailed memory…
Grant
  • 17,671
  • 14
  • 69
  • 101
9
votes
5 answers

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 instead of using the HeapDumpOnOutOfMemoryError flag.…
karlcyr
  • 153
  • 1
  • 2
  • 8
8
votes
3 answers

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 times. Christian Vest Hansen's blog gives JVM…
Peter Hilton
  • 475
  • 1
  • 11
  • 11
7
votes
1 answer

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 magnitude greater than 1540673.
David Cowden
  • 180
  • 5
7
votes
2 answers

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 following solutions: physically restart the…
Ehsan
  • 81
  • 1
  • 4
5
votes
3 answers

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 someone pointed it out to me). Here is the log with…
3
votes
1 answer

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 metadata being almost entirely used up. So I wish to…
3
votes
2 answers

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: Allowed memory size of 134217728 bytes exhausted…
Namnodorel
  • 133
  • 2
3
votes
1 answer

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. System: Linux giorgio 3.2.0-4-amd64 #1 SMP Debian…
3
votes
0 answers

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 in place which watches the log files. If an…
3
votes
1 answer

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 out of memory by OOM killer. It seems that due to…
3
votes
1 answer

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 happening ? And what is the cause of that ? Should I…
db_ch
  • 638
  • 5
  • 14
  • 20
3
votes
0 answers

What is using (kernel) memory?

I know this kind of questions about memory usage have been asked several times, but unfortunately none seem to answer our current problem. We are currently running an AWS EC2 instance with the following specs: t3.medium instance with 4GB RAM and OS:…
2
votes
1 answer

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 entire memory is being used up. I tried to browse…
gentrobot
  • 169
  • 2
  • 10
2
votes
1 answer

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 are running OpenVZ. According to the support of…
1
2 3 4