Questions tagged [outofmemoryerror]
The outofmemoryerror tag has no usage guidance.
65
questions
34
votes
2
answers
39k
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 ...
9
votes
5
answers
18k
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 ...
8
votes
2
answers
7k
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 ...
8
votes
3
answers
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 ...
6
votes
1
answer
503
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 ...
5
votes
3
answers
7k
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 ...
3
votes
1
answer
1k
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 ...
3
votes
1
answer
721
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.
...
3
votes
1
answer
4k
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 ...
3
votes
2
answers
281
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: ...
3
votes
1
answer
8k
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 ...
3
votes
0
answers
770
views
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 ...
3
votes
0
answers
123
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 ...
2
votes
1
answer
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 ...
2
votes
1
answer
664
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 ...
2
votes
1
answer
465
views
oom_reaper: MongoDb out of memory
We run a small mongodb replica set on three bare metal servers (no virtualization, no docker/kubernetes) with Debian 11 and mongodb 5.0.6:
machineA: 128GB RAM, 1TB disk, PRIMARY
machineB: 128GB RAM, ...
1
vote
3
answers
992
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. ...
1
vote
1
answer
2k
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 ...
1
vote
2
answers
39k
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 ...
1
vote
2
answers
302
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 ...
1
vote
1
answer
823
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
1
answer
1k
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
1
answer
4k
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 ...
1
vote
2
answers
1k
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....
1
vote
2
answers
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
0
answers
110
views
Linux: cuda (pytorch) does not allocate available vram
I am trying out pixray/clipit but cuda fails to allocate the remaining 1GiB of my graphics card.
My graphics card is "Nvidia GTX 1660 super" which has the same amount of RAM as the "...
1
vote
1
answer
2k
views
Apache karaf out of memory error
I am working on a virtual server from a local online hosting service where I would like to run an apache karaf instance.
During start-up of the server, I get out-of-memory exceptions:
Exception in ...
1
vote
2
answers
1k
views
MySQL and Apache are running out of memory
Can you help me how can I figure which SQL query makes my MySQL running out of memory?
So, running dmesg command in console, I get following result:
[root@dmzemf httpd]# dmesg -T | grep 'Out of ...
1
vote
0
answers
240
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 ...
1
vote
0
answers
686
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, ...
1
vote
0
answers
291
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 ...
1
vote
1
answer
517
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, ...
1
vote
0
answers
345
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:
...
1
vote
0
answers
239
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
2
answers
192
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 ...
0
votes
1
answer
335
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 ...
0
votes
4
answers
648
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 ...
0
votes
1
answer
6k
views
Java memory is limited but it still uses way to much RAM
I read a lot but what I read so far did not make much sense, so I am asking here a new question about Java and memory.
So I am starting a Java app with the following CLI arguments
-Xms48m
-Xmx96m
-...
0
votes
1
answer
749
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
1
answer
175
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
...
0
votes
1
answer
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
1
answer
486
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
1
answer
192
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 ...
0
votes
1
answer
625
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
1
answer
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 ...
0
votes
0
answers
70
views
Out of memory: Killed process (apache2). apache2.service: A process of this unit has been killed by the OOM killer
My website was suddenly taken down and the root cause was clearly that it ran out of memory, as revealed by the graph below and the logs from /var/log/syslog on the server that I found from the time ...
0
votes
0
answers
46
views
OOM killing programs when used memory is at 30%
I am getting a bit crazy about this one: I am getting quite often processes killed by the kernel because of OOM. I see that free reports 14 GB used out of 14 GB, but when I add up the RSS of all the ...
0
votes
0
answers
40
views
I upgraded Debian 10 to Debian 11, then Debian 12. Why does previously used commands now say out of memory?
I upgraded two low end vps systems only used for mail and dns from Debian 10 to Debian 11 then to Debian 12. No issues during either upgrade for either system. I have a cron that rsync's the vmail ...
0
votes
1
answer
471
views
Almalinux 9 Failed to allocate memory
I have SingleStore DB CLI (Cluster in a Box) deployed in a AWS EC2 Instance r6i.4xlarge with Almalinux 9 OS. At the moment of load data by pipelines the following error appears:
line 34: ER_MEMSQL_OOM ...
0
votes
0
answers
2k
views
Why does Varnish eat up all memory despite having both transient and malloc limits?
I'm using Varnish to cache static files in front of an Apache2 webserver. It's a mix of small files (CSS/JS/images) and large files (from 200 MB to 2 GB).
I've limited both transient and malloc ...