I work on an image processing code base that uses image2d_t objects everywhere. These have their shape (width and height) formally declared which enables progra
I have been running several R scripts without issue until one day I tried to open RStudio and it said "Fatal error: unable to open base package in R." I uninst
I am preparing a code to create an array of 10^5 rows and 10^4 columns with Python. Each element of the array is a float (1.504096744947185, e.g.), which takes
I'm using webServiceTemplate in my multithread Spring app. There are my jaxb dependencies: compile('javax.xml.bind:jaxb-api:2.3.0') compile('org.glassfish.jaxb:
I have the following code #include <stdio.h> //#define arraySize 5 #define arraySize 500 void func(double B[arraySize][arraySize]) { B[0][0] = 5; } i
If I have two pictures slots in my game, one displayed as an icon and one displayed as the full image. Should I have two differents pictures in my Resources fol
When ret is executed, it pops the (return) address and puts it in the EIP register. But what about all the function's arguments left on the stack? Are we just i
When doing work with large files and datasets (usually 1 or 2 gb+), the process is killed do to running out of RAM. What tools and methods are available to allo
I am having some memory issues and I am wondering if there is any way I can free up some memory in the code below. I have tried using a genera
I'm trying to run a demo of TF Object Detection model with Faster RCNN on Google Colab Pro GPU (RAM: 25GB, Disk: 147GB), but it fails and gives me the following
I have 3 files and I want to do something like below [1] conf.py var = 10 # Intialized with 10 (start) [2] file_1.py import conf print(conf.var) # Prints 10
I'm developing a software using C++ for Windows/Linux. I want to create a file (txt, json, license, you name it) at runtime, and save it somewhere. Is it possib
suppose I have a variable with a numeric value of 20. we used the id() function to get its memory address. How can the numeric value of 20 be changed to, for ex
I am new in Go world, the question could be obvious. Let's say I have a struct Example, which has some methods: type Example struct {} func (
I've learned why padding is there when we create variables smaller than a word size. The answer for that is for the performance, because memory space is word-al
You are most likely seeing this question because your question has been closed as a duplicate of this. For a moderately complete list of related questions, ple
I working with Visual Studio2022 and blazor .net 6 when i worked after 1 hour visual studio highly used memory and crashed on my pc (windows server 2019).
Below I have a struct with multiple dynamically allocated char arrays. It compiles, Valgrind indicates no issues and it functions as anticipated. Earlier, someo
I am trying to write up a config parser class in c++. I'll first give a snippet of my class: class foo{ private: struct st{ std::vector<pair<s
I need to inspect memory content for a Unity project while debugging it. No matter what I try, such as Use managed compatibility mode, the Memory window despera