FAQ Database Discussion Community


Writing a Module Which Prevent Overwriting Previous Data in RAM

vhdl,ram
The Problem I have a channel which contains a 512 deep piece of RAM. I have a control block which tells this channel when to write and when to read. When it writes, the write pointer will increase linearly over each clock cycle so long as the capture flag is...

Android-activities continue to use RAM memory even if they are left

android,memory,android-activity,android-studio,ram
For several months I am creating an application for Android and I have a problem I can not solve : my application unexpectedly crashes after a few minutes of use. Thanks to the " Memory Monitor " of Android Studio, I can see that my application is using more and...

Expanding RAM using USB Pen Drive for the Programs which doesn't run on present system ram [closed]

windows,operating-system,hardware,ram
I am having 3 GB RAM in my System, and There are some program which I need to install which require 4 GB RAM. I am aware that I can use my USB Pen Drive to Extend the RAM size, here is link which explain how to do that, I...

Search for file in archive and load it into memory

c++,memory,archive,ram
Basically I need to load a file within an archive into memory, but since the user is able to modify the contents of the archive it is very likely that the file offset will change. So I need to create a function that searches the archive for a file with...

Strange memory usage

java,performance,memory,ram
In the process of creating a voxel game, I'm doing some performance tests, for the basic chunk system. A chunk is made of 16 tiles on the y axis. A tile is a Hashmap of material ids. The key is a byte, and the material id is a short. According...

Recognizing file formats from binary (C++)

c++11,ram,file-format
I am a beginner C++ programmer. I wrote a simple program that creates a char array (the size is user's choice) and reads what previous information was in it. Often you can find something that makes sense (I always find the alphabet?) but most of it is just strange characters....

How can my app allocate more heap memory in Android 4.0? (Not enough memory for my app) [closed]

android,memory,android-4.0,barcode-scanner,ram
I'm desesperate with my app. I'm developing an app for a dedicated barcode scanner Android based device. It's like an old phone (CPU Cortex-A8 OMAP 1Ghz, 512MB RAM), with Android 4.0. I can't root the system, nor update it, i've talked with the manufacturer. The problem is that can't finish...

Is it possible to access/edit kernel memory in C#?

c#,kernel,ram
I was wondering if it's possible to access the kernel's memory via C# and edit it. If not, is it possible to access the whole RAM? Using ReadProcessMemory on the RAM without defining a specific process? I am trying to search for a string in the kernel/RAM yet it has...

How can I clip large shapefiles in program R without the computer crashing?

r,gis,ram,raster,shapefile
I am wanting to clip a large shapefile (67MB) in program R and derive a much smaller raster from around ~5% of it. Once loaded the shapefile has 221388 features and 5 fields - and explodes to 746 MB. My difficulty comes when trying to clip the file to a...

Dynamic Arrray Size in VHDL

vhdl,ram,xilinx,vivado
I want to use dynamic range of array , so using "N" for converting an incoming vector signal to integer. Using the specifc incoming port "Size" gives me an error, while fixed vector produces perfect output. architecture EXAMPLE of Computation is signal size :std_logic_vector (7 downto 0); process (ACLK, SLAVE_ARESETN)...

Can I create a Postgres index that is bigger than RAM?

postgresql,indexing,ram
As the title says: is it possible to create, and use, a Postgres index that is larger, when created, than the value of RAM? Clearly it's not ideal to do this, because even if it's possible it will be much faster if the index can be in RAM: but I'm...

Android: How to get images from camera without storing a file?

android,camera,storage,ram
I'm using the system's activity to get an image from camera. Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(intent, REQUEST); When the user accept the photo I use this callback @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (requestCode == REQUEST && resultCode == RESULT_OK) {...

Do pictures ever get stored in RAM?

c++,file,ram
I am a beginner C++ programmer. I wrote a simple program that creates a char array (the size is user's choice) and reads what previous information was in it. Often you can find something that makes sense but most of it is just strange characters. I made it output into...

Why is my data and bss segment memory usage zero?

c,size,ram,msp430,object-files
I have this code which I compiled for MSP430 platform using msp430-gcc. #include<stdio.h> #include<stdint.h> // Preprocessor definitions #define ROR(x,r) ((x>>r) | (x << (64-r))) #define ROL(x,r) ((x << r) | (x >> (64-r))) #define R(x,y,k) (x = ROR(x,8), x+=y, x^=k, y = ROL(y,3), y^=x) void encrypt(uint64_t* , uint64_t*, uint64_t*); void...

Websites use server or client hardware resources?

resources,cpu,hardware,cpu-usage,ram
When a user visits a website which runs an intensive script, does the web server handle it by using its own CPU and RAM, or does it use the users' resources?

sort runs out of memory

linux,sorting,memory,ram
I'm using a pipe including sort to merge multiple large textfiles and remove dupes. I don't have root permissions but the box isn't configured in any way to cut non root privileges further down than default debian jessie. The box has 32GB RAM and 16GB are in use. Regardless on...

Buildling boxplots incrementally from large datasets

python,matplotlib,plot,ram
Let s say i have 4 files saved on my computer as .npz files : W,X,Y and Z. Let s assume that my computer can not endure to load at the same time more than one of them in term of RAM consumption. How can I be able to run...

Not enough storage is available to complete this operation - matlab

matlab,storage,ram
I am using Matlab 2014a under Windows7. I am running a loop that reads very big xlsx files (~40MB each). After I am done with a file I use 'clear' in order to free the memory taken by reading the file. The thing is that every once in a while...

OpenGL: How to get a pointer into video RAM for a texture's pixels?

opengl,video,ram
I would like to directly access the pixels of texture in video ram. Is this possible in OpenGL?

C# console application - Unhandled exception while finding the Available and free Ram space.Getting exact answer in windows forms application

c#,exception,memory,ram,unhandled
Unhandled exception while finding the Available and free Ram space.Getting exact answer in windows forms application while displaying details in a textbox but getting exception in console application.I've added all possible references..Not showing any error during compile time... using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq;...

Operating system kernel and processes in main memory

c,linux,operating-system,kernel,ram
Continuing my endeavors in OS development research, I have constructed an almost complete picture in my head. One thing still eludes me. Here is the basic boot process, from my understanding: 1) BIOS/Bootloader perform necessary checks, initialize everything. 2) The kernel is loaded into RAM. 3) Kernel performs its initializations...

Java Arrays after destroying still in RAM

java,load,ram,destroy
Hello I working on terraria clone. I have dynamic chunks loading system (If chunk is visible load him) but I have problem when I want to destory chunk when is not visible. My destroying is something like this: public void destroy() { blocks = null; background_blocks = null; light_map =...

Beginner Software RE help, RAM Addresses, library loading, where to start?

unix,reverse-engineering,code-injection,ram,dylib
To start this off, I use OS X which is a UNIX based system. I have beginner theoretical knowledge in C++ and would like to expand my knowledge by software reverse engineering. Every guide I get into seems to jump in half way and I seem to miss a giant...

System.Management, Management Object Searcher, and RAM

c#,memory,ram,system.management
I am brand new to coding and I'm having a go at trying to make a simple app that shows computer information in a multiline textbox, as you do. So, I managed to get the basics by searching the registry for os name, version, etc and using system.environment to get...