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

How should I fix my Python code so that RAM doesn't run out rapidly?

I am having trouble with my python code, my RAM starts to run out rapidly. The problem occurs when the function below is executed: # for loop to calculate TVD def TVD_loop(test_i, test_dummy_i, nlayer, best_model): TVD_tensor =…
chico0913
  • 577
  • 4
  • 10
  • 22
0
votes
1 answer

Can an array exist in multiple locations in physical memory?

Suppose I have an array in which I store some sensitive data. Overwriting each element of the array ensures the data is wiped from its current location in physical memory. However, could there be any stale copies of the data elsewhere in physical…
Irfan434
  • 1,463
  • 14
  • 19
0
votes
0 answers

Mapping data to Large dictionary eating up my ram

This would be a noted one . My data consists of few million records with fields like user agent , Ip addresses and so on consisting of 10 columns .Every time the unique strings are been mapped to integers before feeding into ML-Models for training…
0
votes
1 answer

Why when using Powershell to specify -Xms & -Xmx do they not do anything, but work fine through Netbeans IDE?

I have a Java program which creates 4 empty byte arrays of MAX_INTEGER - 2 length and then halts on an infinite while loop in the main method. I have set my Windows Java settings to include params -Xms12g -Xms12g (I have 16gb RAM). When running the…
Rogod
  • 188
  • 1
  • 13
0
votes
2 answers

How to decrease Jenkins ussage of RAM

I'm new to Jenkins. First shocking thing that kills me is that it's is consuming more than 2 Gigabytes of RAM while doing ..."nothing". Is there something wrong on my setup? I'm just interested in executing some Jenkinfile's pipelines developed by…
earizon
  • 2,099
  • 19
  • 29
0
votes
0 answers

Faster RAM Throughput

I understand that RAM latency can be 100ns, but I'd like to speed up a program which needs to basically just read from random locations within a huge 4GB array. It seems reading could be pipelined or, alternatively (because my full program does a…
bobuhito
  • 285
  • 2
  • 20
0
votes
1 answer

Php Exec - System RAM

I have been searching for a couple of days, and I know what needs to be done, but cannot figure out the exact code. I know it has to use preg_match in order for me to get exactly what I want, but I am having trouble with that. I am trying to have a…
Jacob
  • 1
  • 1
0
votes
1 answer

How to set postgreSQL to use as buffers more RAM than my computer has?

I have a problem. I am learning PostgreSQL and I work with pgAdmin 4v4. At this point, I am trying to set PostgreSQL to use as buffers more RAM than my computer has. I am thinking of using something like SET shared_buffers TO '256MB' but I am not…
A.Chatz
  • 3
  • 4
0
votes
1 answer

How to read STM32H7 SRAM ECC status?

I want to periodically check the state of the RAM ECC detection in my firmware on a STM32H753. The ECC mechanism is well described in the Reference Manual for the Flash but not very well (in my opinion) for the RAM. I've seen that there are…
Guillaume Petitjean
  • 2,408
  • 1
  • 21
  • 47
0
votes
2 answers

Is there a way to compare CPU time and RAM memory?

I'm writing a paper on an algorithm I tested. It used 17 more kB of memory and 0.1 second less of CPU time when compared to a control counterpart. I'm confused as to how I can compare these two different fields to make an assertion in favor of one's…
Ramsey Alsheikh
  • 179
  • 1
  • 1
  • 7
0
votes
0 answers

SDRAM Controller in VHDL

I have to develop a SDRAM controller for a class project in VHDL. But this is my first time working with VHDL, that has a very important learning curve. I have downloaded a SDRAM controller from github…
0
votes
2 answers

running python code with takes 3GBs of ram and crashes the pc

im doing deep learning stuff. I have tensorflow 2.0 (cpu version) and when i try to run this code(below) in pycharm (or jupyter notebook) it uses 3GBs of memory(RAM) however i have 6GBs of RAM the dataset that i run has 50000+ training pic and 10k…
Hadok 361
  • 64
  • 5
0
votes
1 answer

What determines the maximum size of array?

I know there is an upper limit on array size. I want to understand what determines the maximum size of an array? Can someone give a simple detailed explanation?
user11857759
0
votes
1 answer

VHDL - How to compare two bit_vectors for dynamic table lookup

I'm storing two tables in two signals. One table keeps the key (address) and the other keeps the value corresponding to the key. I need to compare an input to the key and, if they match, return the value stored. The reason why I need this is for a…
Pedro
  • 74
  • 1
  • 11
0
votes
2 answers

React Native memory leak react native gesture handler

My apps memory usage is increasing by 0,1 MB about every 3 seconds without me doing anything in the app. I made sure to remove all event listeners so that's not the problem, im out of tricks to solve this memory leak. Is there a tool to inspect…
Konstantin Paulus
  • 1,943
  • 2
  • 10
  • 22