Questions tagged [outofmemoryerror]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 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, ...
user avatar
3 votes
0 answers
176 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 ...
user avatar
  • 131
0 votes
0 answers
743 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 ...
user avatar
  • 193
0 votes
1 answer
29 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 ...
user avatar
  • 101
0 votes
0 answers
224 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....
user avatar
0 votes
0 answers
2k 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 ...
user avatar
0 votes
1 answer
4k 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 -...
user avatar
  • 163
0 votes
0 answers
123 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 ...
user avatar
  • 93
1 vote
1 answer
1k 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 ...
user avatar
  • 162
1 vote
2 answers
875 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 ...
user avatar
  • 843
1 vote
3 answers
398 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. ...
user avatar
  • 234
0 votes
0 answers
55 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 (...
user avatar
  • 433
1 vote
0 answers
181 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 ...
user avatar
  • 111
0 votes
0 answers
347 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 ...
user avatar
  • 1
3 votes
1 answer
663 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 ...
user avatar
  • 33
0 votes
0 answers
89 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, ...
user avatar
1 vote
2 answers
34k 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 ...
user avatar
0 votes
2 answers
122 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 ...
user avatar
1 vote
2 answers
204 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 ...
user avatar
3 votes
2 answers
252 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: ...
user avatar
0 votes
0 answers
248 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 ...
user avatar
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 ...
user avatar
  • 11
1 vote
0 answers
476 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, ...
user avatar
  • 123
0 votes
1 answer
537 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 ...
user avatar
  • 227
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 ...
user avatar
0 votes
1 answer
544 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 ...
user avatar
0 votes
0 answers
72 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 ...
user avatar
0 votes
1 answer
162 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 ...
user avatar
  • 239
1 vote
0 answers
268 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 ...
user avatar
  • 11
0 votes
1 answer
322 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 ...
user avatar
  • 164
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 ...
user avatar
1 vote
1 answer
752 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 ...
user avatar
  • 161
1 vote
1 answer
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 ...
user avatar
  • 668
3 votes
1 answer
693 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. ...
user avatar
  • 133
1 vote
2 answers
929 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....
user avatar
  • 107
26 votes
2 answers
34k 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 ...
user avatar
  • 17.2k
3 votes
0 answers
120 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 ...
user avatar
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 ...
user avatar
1 vote
1 answer
474 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, ...
user avatar
  • 103
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% ...
user avatar
  • 103
0 votes
2 answers
175 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 ...
user avatar
1 vote
0 answers
263 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: ...
user avatar
  • 111
0 votes
1 answer
466 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 ...
user avatar
  • 119
0 votes
1 answer
182 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 ...
user avatar
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 ...
user avatar
7 votes
1 answer
467 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 ...
user avatar
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 ...
user avatar
  • 169
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 ...
user avatar
  • 628
2 votes
1 answer
652 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 ...
user avatar
0 votes
1 answer
157 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 ...
user avatar