The tag has no wiki summary.

learn more… | top users | synonyms

44
votes
5answers
26k views

How to disable Mac OS X from using swap when there still is “Inactive” memory?

A common phenomena in my day to day usage (and several other's according to various posts throughout the internet) of OS X, the system seems to become slow whenever there is no more "Free" memory ...
16
votes
4answers
1k views

Is killing a process still considered bad for memory management?

So I am having a little discussion with my boss about memory management. I've been told that killing a process does not allow it to deallocate memory. Is that still the case, or was that years ago? ...
11
votes
7answers
11k views

Where exactly L1, L2 and L3 Caches located in computer?

Where exactly L1, L2 and L3 Caches Located in computer ? I know, we use Cache to increase performance by picking DATA and INSTRUCTIONS from Cache rather than Main Memory. Following are my questions ...
11
votes
1answer
4k views

Wired Memory vs. Active Memory in OS X

I'm having trouble understanding the difference between Wired Memory and Active Memory in OS X. Do not talk about the four types of memory (don't talk about free or inactive memory, because I ...
9
votes
1answer
350 views

increase desktop responsiveness on linux while swapping

All GNU/Linux distributions I tested so far have the problem that whenever the ram gets filled and the system begins swapping, the whole desktop and graphical user interface becomes unresponsive as ...
8
votes
3answers
5k views

Why does my 32bit ubuntu see 8GB of RAM?

I have just installed a fresh copy of ubuntu 11.04 32 bit and I was surprised to see that the OS can see my 8GB of RAM not like Windows 32 bit OS. How does it work? How is the address mapping ...
8
votes
1answer
230 views

Which files are cached by linux?

I understand that linux uses unused RAM to keep some files cached. But I wonder, which files it actually caches! If you take a look at free : Gesamt Belegt Frei Gemeinsam Puffer Cached Speicher: ...
6
votes
4answers
15k views

How could I limit or even disable file cache on Windows Server 2008R2?

There is a machine, with a very fast RAID array, and a fast internet connection. But, it only got 8gb of mem, which runs out really quick, when the upload goes up. Any ideas how could I disable, or ...
5
votes
2answers
11k views

How to setup Windows 7 to effectively use 24GB RAM

I need to know the best strategy to let Windows 7 use 24GB RAM in the most effective way, so it does as few reads from disk drive as possible. I once read there is some setting in Windows but I can't ...
5
votes
1answer
3k views

How do I limit the memory usage of a specific process in linux?

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the ...
5
votes
3answers
621 views

How to know which program or service take long time at and after PC Starting?

I want to identify which program consumes and takes computer resources on a Windows 7 during start up and after logging in, because after I log in my hard disk LED stays lit for almost 5 minutes. I ...
5
votes
3answers
676 views

Windows x86 physical memory is 24-bit?

I am reading the new book, Windows Internals 5 about memory management (chapter 9 in Physical Address Extension PAE section). It is mentioned "A 32-bit system represents physical addresses internally ...
5
votes
1answer
154 views

Prevent important OS X process being swapped out, without code change?

I want hotkey-based utilities like Quicksilver or Zooom to respond immediately. But if they have been idle for a while, they (I guess) get swapped out, and respond slowly, sometimes not even ...
4
votes
2answers
212 views

About memory cache of Linux

I'm running a python script to do some statistics and the actually memory which used is low,about 10%.And no other process cost more memory.However,when i use free -m and it shows that almost 95% ...
4
votes
1answer
1k views

How to show memory usage in Netbeans?

I would like to know if there is an option in Netbeans (v. 6.9) to show its memory usage. For example, how much got allocated to it and how much it has used.
4
votes
1answer
306 views

Why RAM usage is much bigger than Virtual Memory usage

I am running some tests on a very powerful machine ( 24GB RAM, Window 2008 64bit ) I checked my task manager: Physical memory: 98% ( RAM is 24GB ) But the totally "Memory(Private working set)" usage ...
4
votes
2answers
556 views

Atomic operation. How does it guarantee consistency from hardware perspective?

Atomic operation. How does it guarantee consistency from hardware perspective ? How is it implemented in HW ? As far as I know, atomic instruction makes sure that when it is executed, no other ...
4
votes
1answer
4k views

Why does limiting my virtual memory to 512MB with ulimit -v crash the JVM?

I am trying to enforce maximum memory a program can consume on a Unix system. I thought ulimit -v should do the trick. Here is a sample Java program I have written for testing : import java.util.*; ...
3
votes
3answers
1k views

Detecting source of memory usage on a Linux box

I have a toy Linux box with 256mb RAM running Ubuntu 10.04.1 LTS. Here is the output of free -m: total used free shared buffers cached Mem: 245 ...
3
votes
3answers
2k views

What is my peak total memory usage? How much of my RAM is actually being actively used?

Is there an app or utility in Windows that shows me the peak value of in-use memory (i.e., the total of the shareable and private memory of processes, drivers and the operating system) (not standby ...
3
votes
1answer
201 views

Windows equivalent for “cat /proc/iomem”

Is there an equivalent program for Windows that "cat /proc/iomem" gives you under Linux? I'd like an easy way to read the Windows memory map.
3
votes
2answers
2k views

What is Paging in memory management?

I was just reading Operating System Principles by Silberschatz et al when I came across paging in memory management.I'm slightly confused about it. It states that Physical Memory(I assume it's RAM) is ...
2
votes
4answers
232 views

What could cause a computer to slow down over time?

I have an application/game that ran smoothly a few months ago but lately I've realized it runs more sluggish than usual (the frames per second get quite low). I thought maybe something I installed is ...
2
votes
3answers
2k views

Is it possible to make the OOM killer intervent earlier?

I try to tweak my development system to maximal reliability. I disabled swap, because for GUI usage it mostly renders the machine unresponsive in such a way not useable anymore. Nevertheless, if ...
2
votes
4answers
175 views

Can I track down what is consuming more and more memory on Windows XP?

I use XP at work and if I don't restart every day the system gradually uses more and more memory with roughly the same processes running. I use Windows 7 at home and I don't experience the same ...
2
votes
4answers
760 views

Firefox Tab Recycling

I have a somewhat academical question. When using Firefox, would it be better for memory usage if, when going to a website, with an unused tab available, I: Close that tab, then open a new one with ...
2
votes
1answer
7k views

How do I allocate more RAM to Java?

A java application I'm using keeps crashing, when I had a problem with a similar application I managed to fix it by allocating more of my RAM to Java. How do I do that? (I recently upgraded to 16 GB ...
2
votes
2answers
1k views

Memory management (segmentation and paging) in 80286 and 80386: How does it work?

I found lots of Web sites and books explaining how memory management worked on the 8086 and later x86 CPUs in Real Mode. I understand, I think, how two 16 bit values, segment address and offset are ...
2
votes
1answer
732 views

Making full use of memory on graphic cards

Onboard graphics cards often reserve some of the system main memory for their own use. For a computer with a separate graphics card which has its own memory, is this possible that some of it be ...
2
votes
2answers
145 views

Can I use Nand flash as a swap memory in Embedded Linux?

I have 128 MB of Ram in one of my products, which was sufficient when we released first version of the product. But now we added some extra features in it, So this much Ram may cause a problem of OOM. ...
2
votes
2answers
4k views

How do I resolve BSOD: PAGE_FAULT_IN_NONPAGED_AREA?

I have been trouble shooting this for a few days and cannot fix this anyhow. Computer specifications Mobo: ASUS Sabertooth X58 LGA 1366 Intel X58 SATA 6Gb/s USB 3.0 ATX Intel Motherboard CPU: ...
2
votes
1answer
5k views

Swaping, Paging, Segmentation, and Virtual memory on x86 PM architecture

Well, this may seem a common or already asked question but after searching various books, online tutorials and even here on SU, I am still puzzled at how these four beasts work together on a x86 ...
2
votes
2answers
132 views

Where are Page tables stored

My question is "where are the page tables stored: in physical memory (RAM) or as some data structure in User space". PS: What I have understood so far: A process memory layout has few segments ( ...
2
votes
2answers
176 views

Sources of Linux memory usage not in /proc/meminfo

I’m running a Linux server that shows weird patterns in memory usage that I’m trying to investigate. During normal operation, around 200MB of memory are used for applications according to munin, but ...
2
votes
2answers
34 views

8 or 12 gb when dealing with mat

I had a huge problem with my computer BSODying all the time and all the times it seemed to be a memory problem. I have 16 gb RAM (4*4) and checked each of my modules individually with memtest86 and ...
2
votes
1answer
140 views

What resource am I lacking? Causes notepad to be missing menu, or programs to not open

At this point when a notepad window is like that with no menu, I can't open another notepad either. After closing one or a few cmd prompts. Or after closing an add/remove programs window, or a ...
2
votes
2answers
872 views

Why do different du versions report different file sizes?

at our organization we have a windows file server, which I use to store a large number of files. This file server is mounted using smbmount on 2 clusters. Cluster A runs CentOS 4.8, and du version ...
2
votes
1answer
37 views

Sorted tree view in htop or alternative?

I am running a Debian flavor of Linux, and I use htop to keep track of memory usage, since it is more detailed than top. I can't seem to get it to sort by memory and display process trees at the same ...
2
votes
0answers
244 views

Random freezing caused by khugepaged?

I have a fairly beefy Arch Linux computer, kernel 3.7.7-1-ARCH. However, recently it's been having random freeze ups. Never common, but it'd freeze for a good 15 seconds where no program is ...
2
votes
1answer
743 views

How can I configure Firefox to assume I have less memory?

Firefox has a few different settings that automatically get tuned based on the system ram. This is all great if you're running nothing besides Firefox, but when you're running half a dozen apps at the ...
2
votes
1answer
256 views

Java: compile and run hanging at command prompt

I'm having an issue that I'm hoping someone can help with. I'm working on netbook running WinXP Pro SP3, 1.6GHz & 1GB of RAM. I've got a relatively simple java program that I'm able to ...
2
votes
1answer
1k views

Windows XP only uses 2 GB of my physical 3 GB RAM

At work we still have to use Windows XP 32bit. Slowly we're getting to Windows 7 but for now I'm stuck with Windows XP. My problem is that Windows XP uses only 2 maybe 2.1GB of ram from my physical ...
2
votes
1answer
404 views

What I should know about memory management?

first of all: I don't use stackadmin or similar so please don't vote for moving there, I'm reading man top and paper "what every programmer should know about memory ..." I need really simple ...
2
votes
1answer
1k views

RAM is showing 2.99 GB instead of 3.25 GB in Windows XP Professional 32-bit [duplicate]

Possible Duplicate: Why does Windows only show about 3.5GB of my 4GB+ of RAM? I have an Intel Core 2 Duo CPU E6550 with 4 GB of RAM. At that time, the system properties was showing RAM info ...
1
vote
4answers
1k views

Upgraded RAM Leading to Memory(?) Issues In Windows 7

I was super excited to upgrade my computer from 4GB to 8GB, so much so, I made a pretty amateur mistake: I swapped out the memory while my computer was asleep, and not shut down. Now, I'm not sure ...
1
vote
1answer
94 views

Sharing RAM/G5 Desktop/iMac [closed]

I have a Mac G5 Desktop with 14GB of RAM installed which I sometimes use as a start up disk. I have a 27" iMac 2.8GHz Core i5 with only 4GB of RAM installed. Is there anyway I can access/utilise the ...
1
vote
3answers
337 views

New Memory Power Management options in Power Options?

These options are listed under Memory Power Management in the Power Options on my laptop: Backoff channel heat break tolerance Consecutive time units to mark a page as cold Backoff channel heat ...
1
vote
3answers
119 views

Resources of minimized programs in Linux

When a program is minimized to the taskbar in Linux does it use less resources?
1
vote
2answers
286 views

PC multi-core architecture, scheduling of cores access to system memory

My office computer has 8 cores. I recently upgraded the system from 4Gb of RAM (in two modules) to 24Gb of RAM (in six modules) and noticed a considerable increase in performance when multiple cores ...
1
vote
1answer
809 views

A ramdisk for Vista with “unlimited space”

I am using PostgreSQL and I want to explicitly place a database with 4 gb of data in memory. I have read a lot of forums discussing whether this is a good idea and I have decided that I want to give ...