ram

How to simulate different CPU frequency and limit RAM

Hi I have to build a simulator with C#. This simulator should be able to run a second thread with configureable CPU speed and limited RAM size, e.g. 144MHz and 50 MB. Of course I know that a simulator can never be as accurate as the real hardware. But I try to get almost similar performance. At the moment I'm thinking about creating a th...

How do I execute a function from RAM on a Cortex-M3 (STM32)?

I'm trying to execute a function from RAM on a Cortex-M3 processor (STM32). The function erases the and rewrites the internal flash, so i definitely needs to be in RAM but how do I do that? What I have tried is this: Copy the function to a byte array in RAM using memcpy (checking that it gets aligned correctly), setting a function poin...

Looking for a Perl module to store a Hash structure in shared RAM

I'd like to store a data structure persistently in RAM and have it accessible from pre-forked web server processes in Perl. Ideally I would like it to behave like memcached but without the need for a separate daemon. Any ideas? ...

Pure segmentation

I'm a bit confused about pure segmentation due to in my head always existed the idea of virtual memory. But as I understand pure segmentation is also imagining a virtual address space, divided in segments that are ALL loaded in RAM. The difference with virtual memory with segmentation, is that possibly there's some segment that it's no...

My iphone app will run on any 256MB+ RAM iDevice but crash on every 128MB RAM iDevice

I have an app in the appstore which worked well on ALL iDevices (including 128MB RAM) then i added some features, and now the app crashes on 128MB iDevices. i checked for leaks and fixed them. the memory usage of previous version and current version is the same. i have been searching for the problem for literally days and can't find ...

Why are 8 and 256 such important numbers in computer sciences?

I don't know very well about RAM and HDD architecture, or how electronics deals with chunks of memory, but this always triggered my curiosity: Why did we choose to stop at 8 bits for the smallest element in a computer value ? My question may look very dumb, because the answer are obvious, but I'm not very sure... Is it because 2^3 allo...

Why isn't SQL Server 2008 R2 using all available RAM?

We have an analytics database server running SQL 2008 R2 with 192 GB of physical RAM. However, we're noticing that during analytics process, the server only uses around 70 GB, but tempdb swells to 300+ GB. The current Maximum Memory is set to 2147483647 MB. The server is running Windows 2008 R2. Is there a way to make SQL Server use more...

Serverdown when site is online

Hi, I have an typo3 site. When I access the site only (.htaccess allow only for my ip), then everything is working fine. When I get free the site for all users and bots, then the RAM is getting up to 100% used only for 30 seconds. Does any one has an idea where should I look? In this time in the Mysql are only opened connections many, b...

Tools to monitor the RAM occupied

Hello, I wrote an application that needs to be compared with another one that does the same job.. mine is in OCaml while other one is in Java. I would like to make two runs on the programs and monitor the RAM usage during the time elapsed by these executions. Both programs are really memory and cpu intensive so I'll have enough data to ...

MySQL Text Fields and Memory Usage

I am working on an application that allows users to dynamically add questions to web forms. We use MySQL as the backend, and I am trying to find the fastest, most efficient way of storing the form data. Previously, we stored the data in a separate table for each form section. The columns were named according to a system that allowed u...

Configure Visual Studio to use more ram

I read a blog post at one time on how to increase the amount of RAM that Visual Studio will use. I am getting a "Not enough memory free" error message when trying to copy a small line of text in the visual studio editor. Does anybody know how or where I can configure this? ...

[WP7] How to keep RAM usage below 90MB? (Specially scaling images)

Hi: I'm developing an app for WP7 (VS2010 Express for Windows Phone RTM and WP Emulator), but now im facing a big problem related to memory usage. The app itself has like 12 views, and some of them are reused with different data. It's a newsreader, so the views are mostly listboxes (image thumbnail, stackpanels and textblocks). The fir...

Sending C strings and vectors to MurmurHash gives inconsistent results.

I'm trying to use MurmurHash (returning 64 bit hashes on a 64bit comoputer) and have sent it the simple 3 letter string 'yes' as follows char* charptr = "yes"; cout << MurmurHash64A(charptr, 3, 10); (where 3 is the length and 10 is the seed) This gives a 64bit hashed response as expected, I can set up more pointers to C strings holdin...

What is CMOS and how does it work?

Hi, im new to this forum but i get confused when people are like "Uhh yeh i can upgrade CMOS without causing damage to the random access memory" which i understand, but what is CMOS? There dont seem to be any wiki articles about it either sigh :P ...

Why would RAM allocation to buffers increase dramatically

I am curious Why the allocation to buffers for RAM, shown in Munin would increase dramatically. After a reboot the amount allocated to buffers shot up to 350Mb (of 1 Gb). This is for a VPS on Linode, running Ubuntu, with several Wordpress blogs. It had been going along at about 40Mb for buffers. There has been lots of unused RAM, so ...

program in java to get info about Ram

Hi I want a program to get information about RAM How can i do that? ...