out-of-memory

Find CPU and Memory Time Series of Slurm Job?

让人想犯罪 __ 提交于 2020-08-26 09:55:07
问题 There's a nice question (Find out the CPU time and memory usage of a slurm job) about how to retrieve the CPU time and memory usage of a slurm job and spinup has a nice answer (https://stackoverflow.com/a/56555505/4570472). However, if I understand correctly, seff <job id> returns Memory Efficiency which corresponds to MAXRSS over the entire life of the job. How do I retrieve the time series of memory (and perhaps CPU) usage? I'd like this to understand why my slurm jobs are running out of

Out of memory error android due to fragmentation after 20+days

北战南征 提交于 2020-08-08 06:19:10
问题 I made a application that runs on a coffee machine. After 20+ days (can be 60+ days depending on use) an OutOfMemoryError occurs: java.lang.OutOfMemoryError: Failed to allocate a 604 byte allocation with 16777216 free bytes and 319MB until OOM; failed due to fragmentation (required continguous free 65536 bytes for a new buffer where largest contiguous free 53248 bytes) My question is: Is there a way to run a defragmentation on memory android application programmatically? The time it takes

Cygwin PHP Windows 10 Out of memory

喜欢而已 提交于 2020-07-18 21:03:07
问题 4.5 GB of available system memory. Array only takes up ~4 MB. phpinfo() reports the one and only /etc/php.ini (no web servers, no hosted environment, just my home computer). /etc/php.ini has memory_limit=-1 . ini_get('memory_limit') reports -1 as expected. Simplest possible dynamic array assignment, yet php does exit(255) and reports "Out of memory". temp.php <?php register_shutdown_function(function() { if($error = error_get_last()) { var_dump($error); var_dump(debug_backtrace()); passthru(

Out of memory exception in gson.fromJson()

天大地大妈咪最大 提交于 2020-07-15 04:43:16
问题 I use the following code for converting Json string(strWebserviceResult) to my Object: EntMyClass entMyClass = gson.fromJson(strWebserviceResult,EntMyClass.class); When strWebserviceResult is large (about 2.5 MB) I get the Out of memory exception on this line on Android phone devices not in Tablet that has larger memory. How can I solve that. Does anybody have any suggestion? 05-26 15:52:49.607: E/dalvikvm-heap(2078): Out of memory on a 9200-byte allocation. 05-26 15:52:49.618: E/dalvikvm

How to specify in gitlab-ci.yml the memory for a job?

风流意气都作罢 提交于 2020-07-08 00:26:43
问题 I have a job that requires more memory than the default configuration to compile a large project. I use hosted shared runners. Is there a way to specify in gitlab-ci.yml the required memory per job ? 回答1: This feature is not currently available, and the development is being tracker in https://gitlab.com/gitlab-org/gitlab-runner/issues/2902 来源: https://stackoverflow.com/questions/60114468/how-to-specify-in-gitlab-ci-yml-the-memory-for-a-job

How to specify in gitlab-ci.yml the memory for a job?

谁说我不能喝 提交于 2020-07-08 00:24:12
问题 I have a job that requires more memory than the default configuration to compile a large project. I use hosted shared runners. Is there a way to specify in gitlab-ci.yml the required memory per job ? 回答1: This feature is not currently available, and the development is being tracker in https://gitlab.com/gitlab-org/gitlab-runner/issues/2902 来源: https://stackoverflow.com/questions/60114468/how-to-specify-in-gitlab-ci-yml-the-memory-for-a-job

A Cartesian product function that can yield chunks of result for large arrays

南笙酒味 提交于 2020-06-29 03:49:17
问题 @Paul Panzer shared an excellent answer on how to perform the cartesian product of a list of NumPy arrays efficiently. I have modified his cartesian_product_transpose_pp(arrays) function to show the iteration process occurs from the left to right column of the returned array. import numpy import itertools import time def cartesian_product_transpose_pp(arrays): la = len(arrays) dtype = numpy.result_type(*arrays) arr = numpy.empty((la, *map(len, arrays)), dtype=dtype) idx = slice(None),

Android Studio Simple 'TV' App With Single WebView crashes after long time (profiler shows negative allocated memory?)

拈花ヽ惹草 提交于 2020-06-26 14:52:47
问题 So I have a super simple app with just a WebView that connects to our host page and acts as a 'TV'. After checking for memory leaks, I run this app on my Amazon Fire Stick for an extended period of time, but regardless after around 8-9 hours it crashes without exception on the console. How did I check for memory leaks: LeakCanary did not detect any leaks. Watching the memory profiler over time I see that the total memory used always consistently averages 400MB, even at the 8 hour mark.

How to clear permgen memory space

爱⌒轻易说出口 提交于 2020-06-23 14:19:08
问题 I am using MAT to analyze memory. Size: 14.4 MB Classes: 7k Objects: 350.9k Class Loader: 116 I've got the above report using MAT memory analyzer. But I can't find any way to clear those classes, objects. Is there any way to remove all those object and clean permgen memory. Can we clean permgen memory or I have to increase xms, xmx and launcher.XXMaxPermSize size in eclipse.ini file and make sure all object are nullify after use. 回答1: As far as I know there is no function that clears permgen.

ConstraintLayout together with RecyclerVIew (ListAdapter) appears to use HUGE amounts of memory (up to 1GB) when loading a list with +6000 items

时光毁灭记忆、已成空白 提交于 2020-06-23 12:17:22
问题 I'm building a simple FileExplorer for my app, and using Coroutines I get the files in a given path, and while displaying them, there are spikes in memory usage. I show the profiler tool tabs at the bottom of the post. My best guess is that the adapter is creating a viewholder for every single item on the list and that is using all the memory of the app and the device itself. Edit: by using RelativeLayout instead of ConstraintLayout, it decreased the memory usage by a factor of 3, and it