Questions tagged [ram]

RAM (Random Access Memory) is a form of computer data storage. A random access device allows stored data to be accessed in very nearly the same amount of time for any storage location, so data can be accessed quickly in any random order.

RAM (Random Access Memory) is a form of computer data storage. A random access device allows stored data to be accessed in very nearly the same amount of time for any storage location, so data can be accessed quickly in any random order.

The two main forms of modern RAM are static RAM (SRAM) and dynamic RAM (DRAM). In static RAM, a bit of data is stored using the state of a flip-flop. This form of RAM is more expensive to produce, but is generally faster and requires less power than DRAM and, in modern computers, is often used as cache memory for the CPU.

Both static and dynamic RAM are considered volatile, as their state is lost or reset when power is removed from the system. By contrast, Read-only memory (ROM) stores data by permanently enabling or disabling selected transistors, such that the memory cannot be altered.

2294 questions
0
votes
0 answers

C - Matrixmultiplication - Use maximum allocable RAMsize

I'm trying to solve the following problem: "Write a C program that multiplies an n x n matrix by an n-element vector. Choose n as large as your memory allows." The matrix multiplication is very easy to implement and you can find enough information…
Rabobsel
  • 3
  • 2
0
votes
1 answer

Arduino IDE - global variables storage in RAM or flash memory

Conventional wisdom has it that global and static data is stored in the bottom of RAM along with other stuff. Somewhere above that is the heap, then free memory and at the top of RAM, is the stack. See the code below before reading on. When I…
Michele
  • 1
  • 1
  • 2
0
votes
1 answer

Free RAM in Android

I'd like to know some simple code that allows for freeing used memory that is no longer needed, in a similar way as a lot of memory freeing apps do. Yes, I'm aware that this shouldn't be neccesary because Android manages memory on its own, but it…
user2638180
  • 1,013
  • 16
  • 37
0
votes
0 answers

How to dedicate RAM to Google Chrome

Problem I've been working with software called Leaflet, PostGRES and Geoserver, which I use to load in milions of datapoints... Well... that's what I'm supposed to do. Loading these points using GeoJSON and Javascript utilizes the RAM memory.…
0
votes
0 answers

RAM filling when changing views

I accidentally found a problem in my application. I am using a template MVVM. If I start switching between views RAM starts fill up and dont free up. Before https://i.stack.imgur.com/MBxG7.jpg After 1 munute of simply views…
Anulyev
  • 143
  • 1
  • 6
0
votes
0 answers

For simple assignment of values to a matrix over iterations, the RAM exceeds and computer hangs. Any idea? Any better way to do it?

First I initialize a matrix called A with finite dimensions. While I try to assign values to matrix A as shown in the code, the process takes more and more RAM. I guess it is internally creating some temporary variables and not freeing up the memory…
0
votes
1 answer

how to clean ram memory in python running a series of YOLO predictions?

i am trying to run a YOLO prediction on a hundreds of jpeg in a row one after the other. in the following code predict.py creates a jpeg with prediction for the filename in the argument. this code scans the whole folder and goes files by file.…
Kaza
  • 11
  • 1
0
votes
0 answers

Android test storage health: get storage and Ram health

I want to develop an android application to test storage and memory health Get total disk sectors Get bad sector Get Memory health Can android provide this kind of information?
Miled
  • 109
  • 2
  • 13
0
votes
1 answer

How to write 16bit integer to SRAM via Arduino?

The base of the problem: I have an Arduino Due and a MPU6050 accelerometer and an 23lcv512. MPU gives me 16bit signed integer. I would like to save the datas to the SRAM and after the measurement read them back and via Serial send it to PC. Sending…
fatzolaa
  • 1
  • 1
0
votes
0 answers

How to get total amount of RAM in Visual C++?

I need to get a total amount of RAM on Windows Form load. I tried to get it like this: #include Form1(void) { MEMORYSTATUSEX statex; statex.dwLength = sizeof(statex); GlobalMemoryStatusEx(&statex); unsigned long long RAM_GB…
Perotto
  • 194
  • 1
  • 14
0
votes
0 answers

ubuntu python3 checking RAM usage and RAM available during runtime

I have a python3 program that does a certain amount of iterations for a certain problem. When the problem is too complex, the program might run out of memory. How can I check the available RAM of the hardware in python3 in order to break a cycle…
Miguel
  • 1,295
  • 12
  • 25
0
votes
0 answers

What should I do to avoid Ram crashes?

I'm using this GitHub project https://github.com/PaoloCuscela/Cards, and I have two view controllers with 14 cards each . Each card is declared like this in the view did load function : let card = CardHighlight(frame: CGRect(x: 10, y: 30, width: 200…
0
votes
0 answers

Can Python end up saving temp data in disk instead of memory on its own?

I want to make a simple password manager. If I open an encrypted file with open() and decrypt it into a variable, could the decrypted data somehow touch the disk in this process? Obviously I wouldn't want such data to leave the memory.
0
votes
0 answers

Can you train a neural network on GPUs while generating the next batch of data on CPUs concurrently?

Currently, we have a data pipeline that takes about 1 week to compute in parallel (written in python) and occupies about 4 TB. We would like to research if the data representation we chose is optimal or not and how different architectures perform on…
Danny Diaz
  • 375
  • 1
  • 4
  • 12
0
votes
0 answers

which part of the code is using memory? and how do I use 'del' to reset the memory?

for one epoch for this image process using more than 80 ram memory I know the 'del' command to delete the memory usage del dataframe I want to use 'del' command to free the memory after one epoch but not sure which one is actually using the…
user11173832
1 2 3
99
100