I just ran into an issue while trying to write an bitmap-manipulating algo for an android device. I have a 1680×128 pixel Bitmap and need to apply a filter on it. But this very simple code-piece actually took almost 15-20 seconds to run on my Android device (xperia ray with a 1Ghz processor). So I tried to find the bottleneck
Tag: heap-memory
Heap allocation and suitable hardware
For a C# .net 3.5 application which unavoidably creates a lot of data on the heap, in terms of hardware what would I be looking for in terms of memory? Would it just be the largest socket bus width? Or the “bandwidth” of the memory sticks? Or the actual frequency they run at? We have concluded the bottleneck of our
LinkedList: java.lang.OutOfMemoryError: Java heap space
I’m trying to make a graph implementation for an assignment, which has Graph(GraphImp) objects and Node(NodeImp) objects. Node objects contain a reference to their Graph, x & y co-ordinates and a name. The Graph object contains a linked list of its Nodes. The problem occurs when I try to add a Node into the middle of the List of Nodes
JAVA_OPTS for increasing heap size
I want to increase my Heap size. How can I use JAVA_OPTS for doing so.I am getting the following error may be this is because of low heap size Answer You should be able to use the information found in this post. where zzz is your minimum size. where zzz is your maximum size. You can find more info on
How to understand whether it is going to exceed the Java Heap Size or not?
I implemented a program about calculating the stock values comparing that value in the given times’ values and etc.. I have a csv file which has all dates and double values. In my program for every single date, I’m openning a file, parsing and searching the value of the given date. And I may check the date for multiple times.
Android Resources Class Memory Usage
I’m making modifications to the Android 4.0 launcher and I have been running into many OutOfMemoryErrors. Since the 4.0.3 update it got much worse (or started, it seems before it was fine, but I never got to test properly) and I have tried many many things to fix it. The error is also in the stock launcher without my modifications.
What is the reason for OutOfMemoryError: Java heap space in the following case?
The following code sample is inside a for loop that runs about 2 million times. stack trace: Please let me know if more information is required. Thank you. Thanks everyone for the answers. I will accept BalusC’s answer since he answered first. Unfortunately I cant upvote any other answers due to not enough reputation 🙁 Just a side note to
Heap Overflow Issue when implementing and using the Printable interface
So I’ve written the class below, and it works, but we are getting some heap overflow problems when using this. The images are limited to 5 mb each. Anyone have an idea on how to solve overflowing the heap when generating the printout? } Answer Without going in the specifics of your code, maybe you really need a bigger heap
Glassfish V2.1.1 Heap size never decrease after server batch job
I’ve set up a glassfish cluster with 1 DAS and 2 Node Agents. The system has TimedObjects which are batched once a day. As glassfish architecture, there is only 1 cluster instance allowed to trigger timeout event of each Timer created by TimerService. My problems is about Heap size of a cluster instance which triggers batch job. The VisualVM shows
Setting Java Heap Size under Apache Karaf
I apologize if this is a duplicate, but I can’t seem to find this answered anywhere. What is the best way to increase the maximum Java heap size when using Apache Karaf? Currently, I modified the following line in the karaf.bat file: set DEFAULT_JAVA_OPTS=-server -Xmx<NewMaxValue>M. I feel like modifying the bat file is not the best solution. Additionally, none of