out-of-memory

Meteor Out of Memory

妖精的绣舞 提交于 2019-12-21 04:28:06
问题 I'm using meteor to make scrapping engine and I have to do a HTTP GET request and this send me an xml but this xml is bigger than 400 ko. I get a exception "out of memory". result =Meteor.http.get 'http://SomeUrl.com' FATAL ERROR: JS Allocation failed - process out of memory There is a way to increase memory limit of a variable ? 回答1: I'm developing on Windows and had the same error. In my case, was caused by a flood of console.log statements. I disabled the log statements, and works fine

Android clear webview thread, free memory, avoid OutOfMemoryError

人盡茶涼 提交于 2019-12-21 04:14:26
问题 I am displaying a fairly large image in a webview so that the pinch-to-zoom functions and other conveniences for viewing are already available. It displays correctly the first time. But after leaving the activity and coming back to it, the app crashes on an OutofMemoryError related to the webview thread. I have attempted several things to try to close the webview or stop the thread, or clear its use of memory, but to no avail. Here are examples of code that I added to my activities' onStop()

Cannot allocate memory: fork: Unable to fork new process?

◇◆丶佛笑我妖孽 提交于 2019-12-21 03:46:24
问题 We have our hosting in aws . Recently after moving our blog from wordpress to aws , we are experiencing noticeable delay in server response time. Mainly while accessing the blog. Below are the logs from the error_log file, [Wed Feb 25 06:10:10 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Wed Feb 25 06:12:22 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process [Wed Feb 25 06:12:36 2015] [error] (12)Cannot allocate memory: fork: Unable to

How to detect the cause of OutofMemoryError?

无人久伴 提交于 2019-12-20 21:56:13
问题 I have a complaint that a server application of mine is crashing on high load. It is a web app running in Tomcat 5 . I see the thread dumps and I see that there is an OutOfMemory error 1TISIGINFO Dump Event "systhrow" (00040000) Detail "java/lang/OutOfMemoryError" "Failed to create thread: retVal -1073741830, errno 12" >received 1TIDATETIME Date: 2012/07/17 at 20:03:17 1TIFILENAME >Javacore filename:C:\ServerApplication\Tomcat5\bin\javacore.34545719.4646464.4172.0003.txt The heap information

From what Linux kernel/libc version is Java Runtime.exec() safe with regards to memory?

旧时模样 提交于 2019-12-20 10:32:31
问题 At work one of our target platforms is a resource constrained mini-server running Linux (kernel 2.6.13, custom distribution based on an old Fedora Core). The application is written in Java (Sun JDK 1.6_04). The Linux OOM killer is configured to kill processes when memory usage exceeds 160MB. Even during high load our application never go over 120MB and together with some other native processes that are active we stay well within the OOM limit. However, it turns out that the Java Runtime

Android Bitmap Memory Issue - Error: Out of memory on a 8294416-byte allocation

非 Y 不嫁゛ 提交于 2019-12-20 09:59:40
问题 I am currently developing an app that goes through a story. The story contains "scenes" which contain multiple JPEG and PNG files that are displayed via ImageViews. I create the ImageView and add at it to the layout via the following function: private ImageView newImage(Show show) { ImageView iv = new ImageView(this); String filePath = comin.generateFilePath(show); Log.i(TAG, "newImage, filePath = " + filePath + " id = " + show.id); WeakReference<Bitmap> bmp = new WeakReference<Bitmap>

How to reduce memory usage within Prado's k-means framework used on big data in R?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 06:17:44
问题 I am trying to validate Prado's k-means framework for clustering trading strategies based on returns correlation matrix as found in his paper, using R for a large number of strategies, say 1000. He tries to find optimal k and optimal initialization for k-means using two for loops over all possible k 's and a number of initializations, i.e. k 's go from 2 to N-1 , where N is number of strategies. The issue is that running k-means that many times and especially with that many clusters is memory

gensim - Doc2Vec: MemoryError when training on english Wikipedia

你说的曾经没有我的故事 提交于 2019-12-20 04:50:23
问题 I extracted 145,185,965 sentences (14GB) out of the english wikipedia dump and I want to train a Doc2Vec model based on these sentences. Unfortunately I have 'only' 32GB of RAM and get a MemoryError when trying to train. Even if I set the min_count to 50, gensim tells me that it would need over 150GB of RAM. I don't think that further increasing the min_count would be a good idea, because the resulting model would be not very good (just a guess). But anyways, I will try it with 500 to see if

What kind of Exceptions cannot be handled? [duplicate]

扶醉桌前 提交于 2019-12-20 04:38:33
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: List of exceptions that CAN'T be caught in .NET As is documented, try/catch blocks can't handle StackOverflowException and OutOfMemoryException. Are there any other Exceptions that also suffer from this limitation? 回答1: Jeffrey Richter made several good points on this topic in his book CLR via C#, part "Trading Reliability for Productivity". BTW, you can catch and handle OutOfMemmory: For some reason that I can

Bitmap - Out of memory exception

纵饮孤独 提交于 2019-12-20 03:53:24
问题 When I try to get image from camera or gallery, I get error. Here is a part of logcat: 06-27 05:51:47.297: E/dalvikvm-heap(438): Out of memory on a 35295376-byte allocation. 06-27 05:51:47.312: E/dalvikvm(438): Out of memory: Heap Size=108067KB, Allocated=71442KB, Limit=131072KB 06-27 05:51:47.312: E/dalvikvm(438): Extra info: Footprint=108067KB, Allowed Footprint=108067KB, Trimmed=56296KB 06-27 05:51:47.312: E/PowerManagerService(438): Excessive delay when setting lcd brightness: mLcdLight