Questions tagged [outofmemoryerror]
The outofmemoryerror tag has no usage guidance.
65 questions
0
votes
0
answers
339
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
1
answer
332
views
Linux OOM with Docker and tons of swap memory available
My server is killing MariaDB periodically due to Out of Memory. The thing is, there's tons of swap memory available, and the swapiness is set to 100. One way or another, from the kernel dump, nothing ...
0
votes
0
answers
64
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
59
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
425
views
AWS EC2 instance running out of memory running NodeJs application, cannot identify root cause because of log suppression
As stated in the title we have a NodeJS application running on an EC2 instance on AWS which sporadically runs out of memory and kills the process.
Business wise it is not really a hindrance since ...
0
votes
1
answer
658
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 ...
1
vote
0
answers
115
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 "...
2
votes
1
answer
512
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, ...
3
votes
0
answers
826
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 ...
2
votes
1
answer
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 ...
0
votes
1
answer
77
views
Pagefile & outofmemory issues on Windows Server
We have a windows server machine with 160GB of physical memory running in a colocation that we use for data analysis. Most analysis are not very memory heavy but from time to time some users trigger ...
0
votes
0
answers
450
views
Why does oom-killer run with free memory in other zones?
I've read in my syslogs that the Out of Memory Killer is terminating processes when the "Normal" memory zone is underneath the minimum limit, but I still have tons of free memory in the "HighMem" zone....
0
votes
0
answers
3k
views
Is there a way to restart SYSTEMD services when they are reach their CpuQuota or MemoryHigh limits?
The problem is about the systemd services. I know we can limit the Memory Usage or Cpu usage of services but my question is that is there a way to restart service when it reaches to its Memory high ...
0
votes
1
answer
7k
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
0
answers
219
views
Out of memory with lots of swap space?
I have a small rackspace vm (512M) running centos 6.9. It's running a secondary nameserver and a tiny wordpress instance for showing status. I don't want to pay 3x the price for a little more memory ...
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
3
answers
1k
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
0
answers
63
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
0
answers
247
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
0
answers
379
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 ...
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 ...
0
votes
0
answers
173
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
2
answers
40k
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
2
answers
217
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
2
answers
312
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
2
answers
292
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
0
answers
307
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
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
0
answers
697
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
1
answer
786
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 ...
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 ...
0
votes
1
answer
616
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
0
answers
77
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
1
answer
181
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
0
answers
294
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
1
answer
339
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
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 ...
1
vote
1
answer
852
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
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 ...
3
votes
1
answer
734
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
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....
34
votes
2
answers
41k
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
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 ...
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
1
answer
521
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
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
2
answers
195
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
0
answers
357
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
1
answer
490
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 ...