outofmemory

IBM Websphere on Windows- OutOfMemoryError: Failed to create a thread

I have a J2EE application running on an IBM Websphere Application Server on a Windows Operating System. Occasionally I see an OutOfMemoryError Exception with the following information in the javacore file. 1TISIGINFO Dump Event "systhrow" (00040000) Detail "java/lang/OutOfMemoryError":"Failed to create a thread: retVal -1073741830...

JVM throws OutOfMemory during gc though there are plenty memory left...

I have my java application configured to use 5G memory. I got an OutOfMemory out of blue. I inspected the gc log and found plenty of memory left: young generation occupies 4% allocated space, tenure generation occupancy is 5% and perm generation is 43%. I am puzzled why JVM throws an OutOfMemory at the gc time. Does anyone know why this ...

Python shelve OutOfMemory error

I have some data stored in a DB that I want to process. DB access is painfully slow, so I decided to load all data in a dictionary before any processing. However, due to the huge size of the data stored, I get an out of memory error (I see more than 2 gigs being used). So I decided to use a disk data structure, and found out that using s...

JMeter OutOfMemor

I am facing below OutOfMemor errors, and JMeter stops working.... java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid4412.hprof ... Heap dump file created [591747609 bytes in 71.244 secs] Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space Exception in thread "AWT-EventQueue-0" java.lang.O...

GDI+ & Delphi, PNG resource, DrawImage, ColorConversion -> Out of Memory

I have started to toy around with GDI+ in Delphi 2009. Among the things that I wanted to do was to load a PNG resource and apply a Color Conversion to it when drawing it to the Graphics object. I am using the code provided in http://www.bilsen.com/gdiplus/. To do that I just added a new constructor to TGPBitmap that uses the same code fo...

Use of SAX parser in Android - OutOfMemory Issue

Hi everybody, I have been using a SAX parser for a while now to get data from various XML, but today i'm banging my head on a new problem with a hudge XML (compared to the previous ones . here around 12k lines) with a lot of repetitive items in it. Most of the time, the items are part of a block : <content> <item lbl="blabla"> ...

Java native memory usage

Hi All, Is there any tool to know how many native memory has been used from my java application ? I've experienced outofmemory from my application : Current setting is : -Xmx900m Computer, Windows 2003 Server 32bit, RAM 4GB. Also is changing boot.ini to /3GB on windows, will make any difference? If is set Xmx900m, how much max nati...

Memorystream and Large Object Heap

I have to transfer large files between computers on via unreliable connections using WCF. Because I want to be able to resume the file and I don't want to be limited in my filesize by WCF, I am chunking the files into 1MB pieces. These "chunk" are transported as stream. Which works quite nice, so far. My steps are: open filestream r...

Neo4j OutOfMemory problem

Hi! This is my source code of Main.java. It was grabbed from neo4j-apoc-1.0 examples. The goal of modification to store 1M records of 2 nodes and 1 relation: package javaapplication2; import org.neo4j.graphdb.GraphDatabaseService; import org.neo4j.graphdb.Node; import org.neo4j.graphdb.RelationshipType; import org.neo4j.graphdb.Transa...

android java.lang.OutOfMemoryError

hi, all, when i download large data from website, i got this error information: I/global (20094): Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required. D/dalvikvm(20094): GC freed 6153 objects / 3650840 bytes in 335ms I/dalvikvm-heap(20094): Forcing collection of So...

ImageAdapter and ListView (java.lang.OutOfMemoryError: bitmap size exceeds VM budget)

Hi, I'm using ListView to display images which I provide through an ImageAdapter class. it works great on my device (and on many other devices which I tested it on), but somehow when I'm using the emulator and I'm long-pressing the up/down button - I'm getting an outOfMemory error after 10-15 seconds. I tried clearing cache, canceling ...

MemoryAnalyzer throws StackOverFlow Error. How to solve this problem.

Hi, I am write a Java Application which will monitor Network devices. It throws OutOfMemory Error, so inorder to find out the root cause I have enabled the -XX:HeapDumpOnOutOfMemoryError flag in the java process. After adding the flag, hprof file is generated peoperly with size as around 500 MB. While try to load / parse the file in Ecl...

Why does running out of memory depend on intermediate calls to GC.GetTotalMemory?

A memory intensive program that I wrote ran out of memory: threw an OutOfMemory exception. During attempts to reduce memory usage, I started calling GC.GetTotalMemory(true) (to write the total memory usage to debug file), which triggers a garbage collect. For some reason, when calling this function I don't get an out of memory exceptio...

Problems with Eclipse on Windows 7 64bit

Hello everybody. I'm using since today Eclipse on Windows 7 64bit. So eclipse is still pretty virgin, i just installed android plugin for it. And I have many memory problems with it, which I didn't have with a worse computer however on 32-bit-Windows XP. Did anybody make the same experience and what have you done to fix this out of m...

OutOfMemory while editing XML for Android in Eclipse

I create Android applications for my job. Eclipse is open all day and I am frequently editing XML files for layouts, etc. I find that creating/editing these XML files pushes up the memory use of Eclipse. Eclipse never seems to release any of the memory and eventually Eclipse tells me that there has been some sort of workbench out of me...

setInterval jsf2.0 glassfish v3 and memory Leaks

Hi, guys i'm new and i'm not english. I have a problem with using js setInterval that simulate a user click, every X seconds, on submit button. In the page there is only one h:form and h:commandButton. I use a profiler and i see that the java.util.HashMap increase continuosly it's size. After some hours the used heap size is growed a lot...

How to get ClassLoader tree and which classloader is associated to each .war in WebSphere

I am analyzing an OutOfMemory issue in some applications in IBM WebSphere Application Server. The problem comes from a singleton instance (a cache) loaded several times, that should be loaded only by one application and is loaded by several. My problem is that I need to determine from the javacore and heapdump files: * The Classloader ...