memory Questions
2
I'm trying to write a linker script to write one section content into two non-contiguous memory regions.
I have found an old thread in this mail list about this:
"ld linker script and non-contiguo...
12
java.lang.OutOfMemoryError: Java heap space
Dumping heap to java_pid2584.hprof ...
Heap dump file created [106948719 bytes in 4.213 secs]
Exception in thread "main" java.lang.OutOfMemoryError: Java...
4
Solved
I need to add swap memory in kubernates pod. so that if any pods exceeds the available RAM then it can use the swap memory from hard disk. is that possible in kubernates?
Hamlen asked 29/7, 2020 at 13:38
8
Solved
Since I haven't found an answer to the question asked previously here I'm trying a different approach.
Is there any way to share memory between two processes?
The second process gets the informa...
Rackety asked 29/7, 2009 at 15:10
4
Here is my problem:
top - 11:32:47 up 22:20, 2 users, load average: 0.03, 0.72, 1.27
Tasks: 112 total, 1 running, 110 sleeping, 1 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa,...
5
Solved
I have a website which uses a lot of constants, that are defined like this, for example:
define('CONSTANT', 1)
I currently have a list of about 200 defines like this. This list is run every tim...
Pullover asked 15/8, 2011 at 6:11
9
When I run my jest tests, the amount of memory used per test increases over time. The issue wasn't apparent on my local machine; instead, I found this out when running my tests on CircleCI. I got t...
6
Solved
Curiously:
>>> a = 123
>>> b = 123
>>> a is b
True
>>> a = 123.
>>> b = 123.
>>> a is b
False
Seems a is b being more or less defined as id(...
7
Solved
I'm having some trouble to understand how Node.js acts based on the parameter max-old-space-size.
In my case, for example, I'm running two t2.small AWS instances (2GB of RAM).
Not sure why, but I d...
2
I would like to control the maximum memory, a process can use in Mac-OS X 10.8. I feel that setting ulimit -v should achieve the goals but doesn't seem to be the case. I tried following simple comm...
Tanta asked 4/9, 2012 at 17:56
6
Solved
There are similar questions out there, but they seem to avoid answering this specific question. How can I get the memory that my Java program uses via Java's Runtime API?
The answer here indicates ...
17
How do I get the size occupied in memory by an object in Python?
Lovage asked 16/1, 2009 at 5:7
3
Solved
I have a query that inserts a given number of test records.
It looks something like this:
CREATE OR REPLACE FUNCTION _miscRandomizer(vNumberOfRecords int)
RETURNS void AS $$
declare
-- declare ...
Acrostic asked 10/5, 2013 at 20:53
11
Solved
I have three DataFrames that I'm trying to concatenate.
concat_df = pd.concat([df1, df2, df3])
This results in a MemoryError. How can I resolve this?
Note that most of the existing similar ques...
Garrygarson asked 23/6, 2017 at 7:20
10
Solved
I've recently become interested in algorithms and have begun exploring them by writing a naive implementation and then optimizing it in various ways.
I'm already familiar with the standard Python ...
5
Solved
I am using Docker to run some containerized apps. I am interested in measuring how much resources they consume (as far as regarding CPU and Memory usage).
Is there any way to measure the resources...
Cythera asked 23/9, 2013 at 9:38
10
I am currently developing an admin panel using 'react-admin' which works well on my local, but as soon as I upload the app to Heroku, the build fails with the following error: "FATAL ERROR: Ineffec...
Selvage asked 6/12, 2019 at 1:14
9
I'm developing a website and have recently run into a problem when testing on my iPhone X - the site wont load.
Safari tries to load it, then reports the error 'this web page was reloaded because...
3
Solved
I am reading through a massive file to store data in a very large hash. I am trying to keep the RAM use as small as possible.
I have a MWE that shows strange behavior in Perl:
#!/usr/bin/env perl
...
3
Solved
I am running docker stats $CONTAINER_ID from a shell script to monitor my Docker container memory and CPU usage over a period of 1 hour. I have the below shell script.
#!/bin/sh
# First, start the...
Dabchick asked 8/7, 2021 at 8:34
14
Solved
I have heard mixed opinions over the amount of memory that a byte takes up in a java program.
I am aware you can store no more than +127 in a java byte, and the documentation says that a byte is o...
Tuberous asked 23/10, 2008 at 14:16
4
I'm getting following error when I try to use one of the huggingface models for sentimental analysis:
RuntimeError: CUDA out of memory. Tried to allocate 72.00 MiB (GPU 0; 3.00 GiB total capacity; ...
4
I want to run lm() on a large dataset with 50M+ observations with 2 predictors. The analysis is run on a remote server with only 10GB for storing the data. I have tested ´lm()´ on 10K observations ...
13
Solved
I have created a cache using the MemoryCache class. I add some items to it but when I need to reload the cache I want to clear it first. What is the quickest way to do this? Should I loop through a...
Heads asked 15/11, 2010 at 10:5
1
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
void *thread_function(void *arg) {
char **records = malloc(1000000 * sizeof(char *));
if (records == NULL) {
perror...
Tropo asked 29/12, 2023 at 10:15
© 2022 - 2024 — McMap. All rights reserved.