memory Questions
2
I need to reduce the memory used by my native Windows C++ application, without compromising its performances.
My main data structure is composed by several thousands of instances, dynamically allo...
Pameliapamelina asked 21/10, 2016 at 7:12
3
Solved
This question is regarding types Span<T> and RealOnlySpan<T> in .NET Core. The documentation explains how to create a span over an array, or an array segment, or a stack-allocated or un...
4
Solved
I am trying to fix memory leaks in IE 7. Using Drip for investigations but it is not helping much when most dynamically generated DOM elements do not have unique ids.
Tips?
Gentleman asked 18/9, 2008 at 18:27
1
I'm running a 32bit application and it fails on shortage of memory (bad_alloc is thrown). However, when I'm looking in the dump file I can see that most of the memory is in "busy internal"...
4
Solved
I'm currently building an analysis application that handles large amounts of data. A typical case would looks like this: the user selects a folder with about 600 measurement files that each contain...
Ruffle asked 14/5, 2014 at 10:10
5
Solved
I have download Eclipse MAT and try to launch it on Windows.
Executing MemoryAnalyzer.exe display a popup Incompatible JVM with this message: Version 1.8.0_242 of the JVM is not suitable for this p...
Prismatoid asked 2/3, 2022 at 14:54
15
Solved
I'm trying to get the physical memory size using PowerShell, but without using get-wmiobject.
I have been using the following PS cmdlet to get the physical memory size, but the value changes with ...
Fleshings asked 16/7, 2013 at 15:50
2
I am programming in C for a microcontroller so I am not sure if this question belongs here or on the electronics stackexchange. Just let me know if it doesn't fit here and I will move the question ...
Teleview asked 4/6, 2020 at 12:46
4
Solved
I am creating a little bootloader+kernel and till now I managed to read disk, load second sector, load GDT, open A20 and enable pmode.
I jumped to the 32-bits function that show me a character on ...
5
I'm writing a simple cms in Node.js, Express and MongoDB. I'm planning to run a different Node.js process for every site. The problem is that after startup the process takes about 90m of RAM and fo...
12
I am facing below OutOfMemor errors, and JMeter stops working....
java.lang.OutOfMemoryError: Java heap space Dumping heap to
java_pid4412.hprof ... Heap dump file created [591747609 bytes in
71...
Hyetograph asked 18/2, 2010 at 6:34
4
Solved
So I have 50 tabs opened on chromium, but that is using too much memory and some of the CPU.
How can I have all those concurrent researches I am doing opened but not clog my machine?
I think ther...
Spermaceti asked 30/6, 2013 at 4:9
6
I have a file of a .sql file that is about 22,000 lines long. It's generated by something else, but basically just contains one update statement per line.
I get this error when I run the file in ...
Dressler asked 20/4, 2012 at 20:20
5
Solved
Is there a generally-accepted fastest technique which is used to read a file into memory in c++?
I will only be reading the file.
I have seen boost have an implementation and I have seen a couple...
3
Solved
The application I'm working on is very focused on performance, and as such needs to keep allocations down to a minimum to keep GC stalls down.
I was surprised to find that System.Guid does not exp...
Rogovy asked 22/10, 2015 at 23:3
2
What is the memory footprint of an empty object in JavaScript? If object is created using object literal syntax:
let emptyObj = {};
in Google Chrome Developer Tools (Profiles tab), after taking ...
Meteoritics asked 8/10, 2016 at 12:10
6
Solved
I made a small tkinter game that uses turtle for graphics. It's a simulation of the Triangle Peg Game from Cracker Barrel that is able to tell the player the next best move to make at any point in ...
Browse asked 15/5, 2017 at 5:52
5
I found this problem running a neural network on Colab Pro+ (with the high RAM option).
RuntimeError: CUDA out of memory. Tried to allocate 8.00 GiB (GPU 0;
15.90 GiB total capacity; 12.04 GiB alr...
Zasuwa asked 16/9, 2022 at 16:18
17
Solved
On the question 'why do we need to use bit-fields?', searching on Google I found that bit fields are used for flags.
Now I am curious,
Is it the only way bit-fields are used practically?
Do we nee...
7
Solved
For my application, the memory used by the Java process is much more than the heap size.
The system where the containers are running starts to have memory problem because the container is taking mu...
8
Solved
Traceback (most recent call last):
File "/run-1341144766-1067082874/solution.py", line 27, in
main()
File "/run-1341144766-1067082874/solution.py", line 11, in main
if len(s[i:j+1]) > 0:
Memory...
3
When you load lib asan ,then it fails with below error :
Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
I loaded library using LD_PRELOAD...
Jugal asked 10/2, 2017 at 5:13
2
Solved
I am trying to learn the ins and outs of memory in Rust. When a vector is created inside a function and then returned, is a reference returned or is the entire vector copied?
Example:
use std::io...
4
Solved
I have three array variables of a[dynamic], b[dynamic], c[dynamic]. They can be of any size. I want to destroy one of the variables (e.g. a) as I won't use the variable no longer.
Babby asked 10/5, 2012 at 15:3
9
Solved
I am allocating some unmanaged memory in my application via Marshal.AllocHGlobal. I'm then copying a set of bytes to this location and converting the resulting segment of memory to a struct before ...
Outsider asked 28/9, 2009 at 13:22
1 Next >
© 2022 - 2024 — McMap. All rights reserved.