tagged [out-of-memory]
OutOfMemoryException when I read 500MB FileStream
OutOfMemoryException when I read 500MB FileStream I'm using Filestream for read big file (> 500 MB) and I get the OutOfMemoryException. Any solutions about it. My Code is: ``` using (var fs3 = new Fil...
- Modified
- 17 Mar at 16:48
'System.OutOfMemoryException' was thrown when there is still plenty of memory free
'System.OutOfMemoryException' was thrown when there is still plenty of memory free This is my code: Exception: Exception of type 'System.OutOfMemoryException' was thrown. when I start this running, th...
- Modified
- 24 Dec at 23:30
How to deal with "java.lang.OutOfMemoryError: Java heap space" error?
How to deal with "java.lang.OutOfMemoryError: Java heap space" error? I am writing a client-side application (graphical font designer) on . Recently, I am running into `java.lang.OutOfMemoryError: Jav...
- Modified
- 24 Oct at 14:58
System.OutOfMemoryException when generating permutations
System.OutOfMemoryException when generating permutations I'm getting `System.OutOfMemoryException` when trying to generate 6 letter permutations. 5 letter permutations still work. Here is the code I'm...
- Modified
- 20 Jun at 09:12
OutOfMemoryException with gcAllowVeryLargeObjects
OutOfMemoryException with gcAllowVeryLargeObjects I'm using a BinarySerializer with a pretty big (althought not very deep) graph of items. I have 8GB of ram backed by 12Gig of swap and i'm getting an ...
- Modified
- 6 Jun at 22:8
Xamarin.Forms ListView OutOfMemoryError exception on Android
Xamarin.Forms ListView OutOfMemoryError exception on Android Anyone ever tried A Xamarin.Forms Listview with an ItemTemplate containing a Image view? Now, what happens when ListView contains ca 20 or ...
- Modified
- 21 Sep at 14:20
Json.Net deserialize out of memory issue
Json.Net deserialize out of memory issue I got a Json, which contains among others a data field which stores a base64 encoded string. This Json is serialized and send to a client. On client side, the ...
- Modified
- 2 Nov at 18:4
Out of memory when creating a lot of objects C#
Out of memory when creating a lot of objects C# I'm processing 1 million records in my application, which I retrieve from a MySQL database. To do so I'm using Linq to get the records and use .Skip() a...
- Modified
- 28 Apr at 08:39
Force garbage collection of arrays, C#
Force garbage collection of arrays, C# I have a problem where a couple 3 dimensional arrays allocate a huge amount of memory and the program sometimes needs to replace them with bigger/smaller ones an...
- Modified
- 10 Jul at 21:5
How does catching an OutOfMemoryException work?
How does catching an OutOfMemoryException work? I am a little bit confused about the fact that we can just catch an `OutOfMemoryException` using a try/catch block. Given the following code: ``` Consol...
- Modified
- 12 Dec at 08:47
How to simulate OutOfMemory exception
How to simulate OutOfMemory exception I need to refactor my project in order to make it immune to `OutOfMemory` exception. There are huge collections used in my project and by changing one parameter I...
- Modified
- 6 May at 15:32
Why does 'Any CPU (prefer 32-bit)' allow me to allocate more memory than x86 under .NET 4.5?
Why does 'Any CPU (prefer 32-bit)' allow me to allocate more memory than x86 under .NET 4.5? According to many SO answers and [this widely cited blog post](http://blogs.microsoft.co.il/sasha/2012/04/0...
- Modified
- 28 Jan at 17:41
string.split() "Out of memory exception" when reading tab separated file
string.split() "Out of memory exception" when reading tab separated file I am using string.split() in my C# code for reading tab separated file. I am facing "OutOfMemory exception" as mentioned below ...
- Modified
- 28 Mar at 08:8
Android Studio - How to increase Allocated Heap Size
Android Studio - How to increase Allocated Heap Size I've been using Android Studio for 3 months now and one of the apps I started on it has become fairly large. The memory usage indicated at the bott...
- Modified
- 10 Sep at 16:1
"java.lang.OutOfMemoryError : unable to create new native Thread"
"java.lang.OutOfMemoryError : unable to create new native Thread" We are getting `"java.lang.OutOfMemoryError : unable to create new native Thread`" on 8GB RAM VM after 32k threads (ps -eLF| grep -c j...
- Modified
- 15 Sep at 15:13
split huge 40000 page pdf into single pages, itextsharp, outofmemoryexception
split huge 40000 page pdf into single pages, itextsharp, outofmemoryexception I am getting huge PDF files with lots of data. The current PDF is 350 MB and has about 40000 pages. It would of course hav...
- Modified
- 9 Aug at 16:7
Serializing an object using Json.Net causes Out of Memory exception
Serializing an object using Json.Net causes Out of Memory exception Disclaimer: I did went through most of the solution provided here but most of them were talking about OOM exception while Deserializ...
- Modified
- 31 Dec at 09:35
How to solve java.lang.OutOfMemoryError trouble in Android
How to solve java.lang.OutOfMemoryError trouble in Android Altough I have very small size image in drawable folder, I am getting this error from users. And I am not using any bitmap function in code. ...
- Modified
- 8 Sep at 07:53
Spark java.lang.OutOfMemoryError: Java heap space
Spark java.lang.OutOfMemoryError: Java heap space My cluster: 1 master, 11 slaves, each node has 6 GB memory. My settings: , I read some data (2.19 GB) from HDFS to RDD: , do something on this RDD: ``...
- Modified
- 25 Nov at 10:14
How do I use large bitmaps in .NET?
How do I use large bitmaps in .NET? I'm trying to write a light-weight image viewing application. However, there are system memory limitations with .NET. When trying to load large bitmaps ( or larger,...
- Modified
- 20 Feb at 15:9
Memorystream and Large Object Heap
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...
- Modified
- 21 May at 19:3
OutOfMemoryException when a lot of memory is available
OutOfMemoryException when a lot of memory is available We have an application that is running on 5 (server) nodes (16 cores, 128 GB Memory each) that loads almost 70 GB data on each machine. This appl...
- Modified
- 2 Dec at 11:19
Exception of type 'System.OutOfMemoryException' was thrown.
Exception of type 'System.OutOfMemoryException' was thrown. I got the following problem ``` Description: An unhandled exception occurred during the execution of the current web request. Please review ...
- Modified
- 26 Aug at 06:55
I hit an OutOfMemoryException with List<string> - is this the limit or am I missing something?
I hit an OutOfMemoryException with List - is this the limit or am I missing something? Given the opportunity to rewrite, I would, but anyway, the code as it stands: Then we add a bunch of strings to f...
- Modified
- 23 May at 12:9
A dictionary that can save its elements accessed less often to a disk
A dictionary that can save its elements accessed less often to a disk In my application I use a dictionary (supporting adding, removing, updating and lookup) where both keys and values are or can be m...
- Modified
- 21 Jul at 19:40