Questions tagged [outofmemoryerror]

59 questions
1
vote
0 answers

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: JAVA_OPTS="-Djava.awt.headless=true -D64 -server…
sahid
  • 111
  • 3
1
vote
0 answers

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 again I continue to get the exception. If I…
thelsdj
  • 830
  • 1
  • 11
  • 25
1
vote
0 answers

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 "Nvidia GTX 1660 Ti" which belongs to somebody I know - and it…
france1
  • 23
  • 9
1
vote
1 answer

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, 1TB disk, SECONDARY machineC: 8GB RAM, 20GB disk,…
mr.simonski
  • 225
  • 3
  • 12
0
votes
0 answers

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 limit(or cpu)? Because i want to know that if the…
mrbiyik
  • 1
  • 1
0
votes
1 answer

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…
schube
  • 163
  • 2
  • 9
0
votes
0 answers

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 and a bunch of disk space I don't need. The…
abatie
  • 93
  • 9
0
votes
0 answers

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 (static $ /apps/httpd-2.4.34/bin/httpd -M | grep…
Zama Ques
  • 443
  • 1
  • 8
  • 24
0
votes
0 answers

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 start the server from AWS Console. Reboot sometime…
Leong
  • 1
  • 1
0
votes
0 answers

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, and found it killed Apache/mysql process and in…
user3360140
  • 281
  • 1
  • 4
  • 13
0
votes
2 answers

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 them before saving them to a database. I have a…
Michael Lynch
  • 121
  • 1
  • 1
  • 3
0
votes
0 answers

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 page no longer loads. When I check the logs, I'm…
pamobo0609
  • 109
  • 2
0
votes
1 answer

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. When I start the jenkins services it consumes…
u123
  • 247
  • 7
  • 21
0
votes
1 answer

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 of the ram and swap at 3:40am and then ultimately…
0
votes
0 answers

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 runs out of memory, eating all 4GB, and I'm unable…