Questions tagged [heap-size]

The tag has no usage guidance.

heap-size
Filter by
Sorted by
Tagged with
7 votes
1 answer
4k views

Is there a minimal heap size for Android versions?

Many posts have talked about Android heap size, and so far what I've found out is that the only common thing about max heap size is that it's at least 16MB, but that was the limit ever since API 3. ...
android developer's user avatar
52 votes
2 answers
70k views

What is the relation between 'mapreduce.map.memory.mb' and 'mapred.map.child.java.opts' in Apache Hadoop YARN?

I would like to know the relation between the mapreduce.map.memory.mb and mapred.map.child.java.opts parameters. Is mapreduce.map.memory.mb > mapred.map.child.java.opts?
yedapoda's user avatar
  • 850
12 votes
2 answers
36k views

Setting heap size in IntelliJ IDEA correctly

I have this peculiar problem with running a Processing application in IntelliJ IDEA. I want to save a large image and to do this I run in to the following exception: Exception in thread "Animation ...
Lukas Arvidsson's user avatar
2 votes
3 answers
5k views

Error "java heap size" in Eclipse Android?

When I'm using the graphical layout editor after 5-10 minutes of working I get the error "java heap size". I tried to increase size in eclipse.ini: -Xms512m -Xmx1024m But it doesn't helped. Please ...
user2166726's user avatar
10 votes
2 answers
103k views

Best way to increase heap size in catalina.bat file

I have tomcat 6 server on windows xp ,And I start tomcat through console i.e. using startup.bat. AFAIK catalina.bat file is for windows so I am changing bat file for memory management.I don't have ...
Edward's user avatar
  • 1,357
5 votes
1 answer
6k views

SBT Specify java heap size in Build.scala

My Build.scala file contents. val commonSettings = Seq( version := "1.0.0", organization := "com.collective", scalaVersion := "2.11.4", scalacOptions ++= List( "-encoding", "UTF-8", "-target:jvm-...
Anand's user avatar
  • 1,831
3 votes
2 answers
13k views

Enlarge heapsize c++

is there some way to enlarge the heapsize of a c++ program? In android you can easily do that by declaring it as large in the manifestfile. I encountered this problem when I tried to allocate one ...
Björn Hallström's user avatar
3 votes
1 answer
3k views

Android App build on geotools library missing native java libs

I want to use geotools(8.0-M3 currently, could be also 2.7.3) library in an Android app, using eclipse. (win7 prof, 4gb ram) But the build process crash, and i get following error Unhandled ...
user972851's user avatar
6 votes
2 answers
8k views

Information heap size

What information can I obtain from the performance.memory object in Chrome? What do these numbers mean? (are they in kb's or characters) What can I learn from these numbers? Example values of ...
Rick Hoving's user avatar
  • 3,575
6 votes
3 answers
13k views

Failed to start Glassfish after increasing heap size

I want to increase the heap size of my Glassfish. For that, I know that I can go up to 4GB: java -Xmx4000M -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-...
Alexandre Blanquart's user avatar
3 votes
3 answers
431 views

What's the reason to set a minimal Java Heap Size?

I can set the Java Heap Size minimum and maximum by passing the parameters -Xms and -Xmx, respectively. I understand that the maximum flag is necessary to limit the space, but what's the reason for ...
user avatar
1 vote
2 answers
9k views

what is the best way to change Heap size of Jmeter which gives :OutOfMemoryError

I am trying to change the size of my jmeter(version 4) heap size from set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m to more as i have system with 64bit, 16GB RAM but unable to change it. i have ...
Balwinder Raika's user avatar
1 vote
2 answers
7k views

Not able to set JVM heap size on AWS Elastic Beanstalk Java SE Platform

I have a Spring Boot app deployend on Elastic Beanstalk using a single EC2 t2.micro instance (1GB RAM). I need to increase my app's JVM Heap size but I'm not being able to do so. The things I have ...
Francisco Hanna's user avatar
1 vote
1 answer
5k views

Tomcat java.lang.OutOfMemoryError: Java heap space

In my Spring Boot application I want to upload files into a MySql database. When I want to upload large files, I get java.lang.OutOfMemoryError: Java heap space exception. I get it with files about ...
Siriann's user avatar
  • 425
1 vote
3 answers
10k views

Heap space error while executing logstash with a large dictionary (translate filter)

I get an error java.lang.OutOfMemoryError: Java heap space while executing logstash with a large dictionary of 353 mega bytes in translate filter. I use it to do a lookup on my input data. I tried ...
Fares's user avatar
  • 605
0 votes
1 answer
497 views

Updating Java Heap size while deploying/installing keycloak using bitnami/keycloak

I keep getting a OutOfMemoryError while deploying/installing keycloak using bitnami/keycloak in a Kubernetes pod. 2023-02-09 17:33:49,316 ERROR [org.jboss.threads.errors] (build-19) Thread Thread[...
nafi's user avatar
  • 55
0 votes
0 answers
145 views

Android - Reliable way to get percentage of heap size occupied

In one of my activities I load a large number of bitmaps dynamically and show them in a GridView. There is risk of exceeding the heap size and crashing the app. I need a reliable way to know when heap ...
Anonymous's user avatar
  • 4,740