Physical memory and paging

I know in SAP's world, memory means physical memory + paging. I want to know which program has contribution for swap.
Suppose there is 4G physical memory on an application server, em/initial_size_MB = 4G, abap/heap_area_nondia = 4G.
1) If there is no dialog processor running and one background job running which claims 2G memory, I want to know will swap occur?
2) If there is one dialog processor running which claims 2G memory and one background job running which claims 2G memory, will swap occur?

By ST03N you can check the workload, by OS06 the swap .
By transaction ST02 you can check the folllowing parameters:
SAP Roll area parameters
- ztta/roll_first          : First amount of roll area used in a dialog WP
- ztta/roll_area             : size of the local SAP Roll area in the work process
rdisp/ROLL_SHM      : size of SAP roll Buffer
rdisp/ROLL_MAXFS     : size of entire shared SAP roll area
SAP Extended Memory main parameters :
em/initial_size_MB : size of SAP extended memory allocated when                         the SAP instance starts up
em/blocksize_KB  : size block which split SAP Extended Memory
ztta/roll_extension : maximum size of a user context in the SAP Extended memory
SAP Heap Memory main parameters :
abap/heap_area_dia       : quotas oh SAP heap memory that a dialog                                 process can allocated.
abap/heap_area_nondia : quotas oh SAP heap memory that a nondialog                    process can allocated.
abap/heap_area_total     : size that can be allocated in total by all work                    process.
abap/heaplimit           : Workprocess restart limit of heap memory
if helpful reward point is appreciated

Similar Messages

  • SAP ECC6 memory and paging issues

    Dear Experts
    I have recently upgraded my 4.6C systems to an ECC 6 system (DB2 LUW 9.5 on AIX 5.3 TL9 64 Bit OS)
    I have been running the LPAR with 14 GB of memory and we are around 100-200+ users using the system, I was monitoring using nmon and found that Physical Memory was around 99.8% Used   (14311.8MB and 22.6MB was free) also the paging space was around 37.2% in result causing the system at times to run slow which can have a very negative effect on the users.
    After further investigation I found that after a system restart the Physical Memory would start around 50.9% and increased at a steady pace until it reached 99.8% that is when the system would start using the paging space which would steadily increase, I found that the only solution was a system restart at least once a week to reduce the memory consumption.
    At first glance it looked like a database manger memory leak with the process db2sysc, so I searched the net with the search words u201Cdb2 memory leaku201D and found the following APARs and notes.
    APAR JR30285 - Pervasive memory leak when compiling SQL statements that use SQL/XML functions
    APAR IZ35230 - There is a pervasive unix-specific private memory leak in the security component
    Note 1288341 - Memory leak in APPLHEAPSZ -> SQL0954C 
    Note 1352361 - Memory leak in shared memory area abrfci
    Note 1147821 - DB6: Known Errors and available Fixes in DB2 9.5 LUW
    After reading the notes and APARs I decided to updated DB2 to the latest fix pack (5SAP), but after the fix pack was implemented it did not solve the memory problem
    I started look at different problems with SAP ECC6, db2 and AIX with paging/memory problems and I found the following notes to do with AIX memory and paging but none of them helped as all parameters and settings were set accordingly  
    789477 - Large extended memory on AIX (64-bit) as of Kernel 6.20
    191801 - AIX 64-bit with very large amount of Extended Memory
    973227 - AIX Virtual Memory Management: Tuning Recommendations
    884393 - AIX saposcol consumes large amount of memory.
    856848 u2013 AIX Extended Memory Disclaiming 
    1048686 u2013 Recommended AIX settings for SAP
    1121904 u2013 SAP on AIX: Recommendations for Paging
    1086130 u2013 DB6: DB2 Standard Parameter Settings
    After even more investigation I found the following evidence suggesting AIX Virtual Memory Manager might have a problem

    Shared memories inside of pool 40
    Key:       42  Size:    17792992 (  17.0 MB) DB TTAB buffer              
    Key:       43  Size:    53606392 (  51.1 MB) DB FTAB buffer              
    Key:       44  Size:     8550392 (   8.2 MB) DB IREC buffer              
    Key:       45  Size:     7014392 (   6.7 MB) DB short nametab buffer     
    Key:       46  Size:       20480 (   0.0 MB) DB sync table               
    Key:       47  Size:    10241024 (   9.8 MB) DB CUA buffer               
    Key:       48  Size:      300000 (   0.3 MB) Number range buffer         
    Key:       49  Size:     2769392 (   2.6 MB) Spool admin (SpoolWP+DiaWP) 
    Shared memories outside of pools
    Key:        3  Size:   114048000 ( 108.8 MB) Disp. communication areas   
    Key:        4  Size:      523048 (   0.5 MB) statistic area              
    Key:        6  Size:   692224000 ( 660.2 MB) ABAP program buffer         
    Key:        7  Size:       14838 (   0.0 MB) Update task administration  
    Key:        8  Size:   134217828 ( 128.0 MB) Paging buffer               
    Key:        9  Size:   134217828 ( 128.0 MB) Roll buffer                 
    Key:       18  Size:     1835108 (   1.7 MB) Paging adminitration        
    Key:       19  Size:   119850000 ( 114.3 MB) Table-buffer                
    Key:       41  Size:    25010000 (  23.9 MB) DB statistics buffer        
    Key:       63  Size:      409600 (   0.4 MB) ICMAN shared memory         
    Key:       64  Size:     4202496 (   4.0 MB) Online Text Repository Buf. 
    Key:       65  Size:     4202496 (   4.0 MB) Export/Import Shared Memory 
    Key:     1002  Size:      400000 (   0.4 MB) Performance monitoring V01.0
    Key: 58900114  Size:        4096 (   0.0 MB) SCSA area                   
    Nr of operating system shared memory segments: 16
    Shared memory resource requirements estimated
    ================================================================
    Total Nr of shared segments required.....:         16
    System-imposed number of shared memories.:       1000
    Shared memory segment size required min..:  692224000 ( 660.2 MB)
    System-imposed maximum segment size......: 35184372088832 (33554432.0 MB)
    Swap space requirements estimated
    ================================================
    Shared memory....................: 1654.8 MB
    ..in pool 10  328.6 MB,   58% used
    ..in pool 40  143.3 MB,   30% used
    ..not in pool: 1174.1 MB
    Processes........................:  413.4 MB
    Extended Memory .................: 6144.0 MB
    Total, minimum requirement.......: 8212.2 MB
    Process local heaps, worst case..: 3814.7 MB
    Total, worst case requirement....: 21882.9 MB
    Errors detected..................:    0
    Warnings detected................:    3

  • I have 16 GB physical memory and my kernel_task file grows to use all my available memory. How do I fix it? It is now completely utilized and Kernal_task is 9.3GB.

    MY computer is acting strangly and now my physical memory of 16GB is completely utilized all the time. I noticed that the kernal_task is now 9.3GB and I don't know why. If I restart the system I am only using about 6GB and then it starts to use more until it is completely utilizing everything WHY?

    Hardware Information:
              iMac (21.5-inch, Mid 2010)
              iMac - model: iMac11,2
              1 3.06 GHz Intel Core i3 CPU: 2 cores
              16 GB RAM
    Video Information:
              ATI Radeon HD 4670 - VRAM: 256 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 0:10:11
    Disk Information:
              ST3500418AS disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (391.27 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              OPTIARC DVD RW AD-5680H 
    USB Information:
              American Power Conversion Back-UPS ES 750 FW:841.I3 .D USB FW:I3 
              Apple Internal Memory Card Reader
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Fitbit Inc. Fitbit Base Station
              Logitech USB Receiver
              Apple Inc. Built-in iSight
              Apple Computer, Inc. IR Receiver
    FireWire Information:
              Seagate GoFlex Mac 800mbit - 800mbit max
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        Seagate 1TB External Bootable Backup  (disk1s2) <not mounted>: 499.93 GB
                        Seagate 1TB External User Backup 2 (disk1s3) /Volumes/Seagate 1TB External User Backup 2: 499.8 GB (357.71 GB free)
    Thunderbolt Information:
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [not loaded] com.anchorfree.tun (1.1.1 - SDK 10.8) Support
              [kext loaded] com.globaldelight.driver.BoomDevice (1.1 - SDK 10.5) Support
              [kext loaded] com.logmein.driver.LogMeInSoundDriver (1.0.3 - SDK 10.5) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverInt (0.0.52) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverVSP (0.0.45) Support
              [kext loaded] com.seagate.driver.PowSecDriverCore (5.2.2 - SDK 10.4) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.2 - SDK 10.4) Support
              [kext loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.2 - SDK 10.5) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.2 - SDK 10.4) Support
              [kext loaded] com.squirrels.airparrot.framebuffer (3 - SDK 10.8) Support
              [kext loaded] com.squirrels.driver.AirParrotSpeakers (1.8 - SDK 10.8) Support
              [not loaded] org.virtualbox.kext.VBoxDrv (2.2.0) Support
              [not loaded] org.virtualbox.kext.VBoxNetAdp (2.2.0) Support
              [not loaded] org.virtualbox.kext.VBoxNetFlt (2.2.0) Support
              [not loaded] org.virtualbox.kext.VBoxUSB (2.2.0) Support
    Startup Items:
              comapcpcpestart: Path: /Library/StartupItems/comapcpcpestart
              VirtualBox: Path: /Library/StartupItems/VirtualBox
              WDBMService: Path: /Library/StartupItems/WDBMService
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.anchorfree.ajaxserver.plist Support
              [running] com.fitbit.galileod.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [not loaded] com.logmein.logmeinblanker.plist Support
              [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
              [loaded] com.oracle.java.Helper-Tool.plist Support
              [loaded] com.oracle.java.JavaUpdateHelper.plist Support
              [loaded] com.prosofteng.DriveGenius.locum.plist Support
              [loaded] com.skype.skypeinstaller.plist Support
              [loaded] com.timesoftware.timemachineeditor.helper.plist Support
              [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    Launch Agents:
              [loaded] com.google.keystone.agent.plist Support
              [not loaded] com.logmein.logmeingui.plist Support
              [not loaded] com.logmein.logmeinguiagent.plist Support
              [not loaded] com.maintain.CocktailPurgeInactiveMemory.plist Support
              [loaded] com.maintain.CocktailSystemEvents.plist Support
              [loaded] com.oracle.java.Java-Updater.plist Support
              [running] com.seagate.SeagateStorageGauge.plist Support
              [running] net.culater.SIMBL.Agent.plist Support
              [loaded] org.macosforge.xquartz.startx.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [running] com.google.Chrome.framework.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
              [loaded] com.shirtpocket.backupbytime.plist Support
    User Login Items:
              Skype
              AdobeResourceSynchronizer
              Fitbit Connect Menubar Helper
              iTunes
              Printer Pro Desktop
    Internet Plug-ins:
              Default Browser: Version: 537 - SDK 10.9
              OfficeLiveBrowserPlugin: Version: 12.2.3 Support
              SlingPlayer: Version: (null) - SDK 10.8 Support
              AdobePDFViewerNPAPI: Version: 10.1.9 Support
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              LogMeIn: Version: 1.0.935 - SDK 10.7 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              LogMeInSafari32: Version: 1.0.935 - SDK 10.7 Support
              QuickTime Plugin: Version: 7.7.3
              iPhotoPhotocast: Version: 7.0 - SDK 10.8
              AdobePDFViewer: Version: 10.1.9 Support
              JavaAppletPlugin: Version: Java 7 Update 55 Check version
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              thinkorswim plugin_x86_64: Version: thinkorswim_x86_64 1.0.0.0 - SDK 10.7 Support
              tossc plugin_x86_64: Version: TOS Sharing Center plugin_x86_64 1.0.0.0 - SDK 10.7 Support
    3rd Party Preference Panes:
              APC PowerChute Personal Edition  Support
              Flash Player  Support
              Java  Support
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 100.57 GB
              Destinations:
                        Seagate 1TB External User Backup 2 [Local] (Last used)
                        Total size: 0 B
                        Total number of backups: (null)
                        Size of backup disk: Too small
                                  Backup size 0 B < (Disk used 100.57 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                 100%          comapcpowerchute
                  18%          syncdefaultsd
                  12%          Mail
                   5%          WindowServer
                   1%          com.apple.security.XPCKeychainSandboxCheck
    Top Processes by Memory:
              606 MB          mds_stores
              295 MB          com.apple.IconServicesAgent
              131 MB          iTunes
              82 MB          Skype
              49 MB          Finder
    Virtual Memory Information:
              12.60 GB          Free RAM
              1.72 GB          Active RAM
              643 MB          Inactive RAM
              1.05 GB          Wired RAM
              3.35 GB          Page-ins
              0 B          Page-outs

  • Contribute "low on memory" and Acrobat won't redraw

    I have two issues that I believe may be related.  First here's my system information
    WinXP SP3
    Intel Core2Duo E6550 = (2.33GHz)
    3GB RAM
    GeForce 8600GTS 512 MB Video
    Running two 19" monitors, (at 1440x900 each)
    Creative Suite Premium 2.0 (InDesign CS2, Photoshop CS2, IllustratorCS2, Acrobat 7 Professional, BridgeCS2, GoLive CS2Version Cue is disabled.)
    Production Studio Premium 1.0 (Premiere Pro 2, Encore DVD 2, After Effects 7, Audition 2)
    Contribute CS3, (including Bridge CS3, but I don't use it, I use Bridge CS2 for everything).
    First Issue.  Intermittently, in both Adobe Reader 9, and Acrobat 7.0 pdf files that I have open will not display in the window properly, unless I reduce the size of the window to something quite small.  It will show the desktop in behind the window, or if I open a window on top, it shows that window even when I've moved it.
    The second problem is similar, but occurs in Contribute CS3 and is always accompanied by a "Your system is low on memory..." error, until I reduce the size of the Contribute window, at which point, it is so small that it becomes unuseable.
    The only other program that I have open at the time is Outlook 2007, with a couple of messages.
    As this is happening, I open the Task Manager, see that there is plenty of available Physical Memory, and the CPU Usage is very low, under 10%.  I've set my virtual memory paging file to Custom Size of 4591MB.
    The only way to fix it is to reduce the size of windows or close all the programs.  These two problems occur independently of each other.  Sometimes when I'm just trying to open a PDF file.
    3GB should be plenty to run Contribute and Outlook, or Acrobat and Bridge.
    What the heck is going on?

    Thanks for the reply.
    Yes I have tried that, but to no avail.  The crazy thing is that it only really happens after I've been working in Contribute for a while.  Sometimes an hour or more.  Then it just starts doing this.
    The redraw problem also affects other programs, that are not Adobe programs.  For example, when I open a Remote Desktop Connection to the web server where I am publishing, while this problem is occuring, the screen will not "draw" properly either.
    I have a feeling that there is something strange about how Contribute, and Acrobat, and Windows share the memory, either the system memory, or the graphics memory.
    Could this also be a problem caused by having both CS2 and CS3 programs installed?
    Chris

  • Why does my mac use virtual memory when I still have free physical memory?

    I have a 2011 i7 quad core mac, I was hoping it would scream. Most of the time it does. However when trying to edit within FCPX I get a very disappointing experience with many pauses and pin wheels if I don't close every single other program.
    I have 8GB of physical memory and when i'm experiencing these problems I see that i still have 1-2 gb of physical memory free or inactive. At the same time FCPX is only using 2gb of memory. I just happened to keep an eye on the VM page in/outs and noticed them going up.
    Right now i'm doing some browsing and emailing, that's about it.. its sat with over 4gb of memory free or inactive and yet still the page in/outs is still going up occasionally. It's currently at over 2 million page ins, and over 1 million page outs.
    So with so much physical memory free why is this happening!? At the moment the mac feels nice and responsive, but if i start trying to use FCPX i'll start to experience these slowdowns, stalls... whenever i see these i see my main hdd is being accessed whilst the pinwheel is displayed.. I mean i get it, its VM, the hdd is too full, a bit fragmented perhaps, its stalling... but i've got gigs of memory sitting free or inactive... why wont the OS use it!!!
    Would my experience improve if i took the plunge and got 16gb of memory instead of 8gb!?
    Thanks for your help!

    Because without virtual memory, managing computer RAM is a royal pain in the ...
    Virtual memory cost you nothing, and gains you huge benefits, even if you do not notice it
    What cost you is when you need more real RAM than is available, and things are thown out of RAM, either back to the original file it came from (Read Only information), or pushed out to the swapfiles (/var/vm/*).  Then the system has to wait for slower disk access.  But even this is better than not being able to run the apps until you quit something else.
    (speaking as someone that starting his professional life working with 1" punch paper tape, 80 columns cards, 7-track and 9-track mag tapes, 1MB disks (you heard me right 1 Megabyte), etc..., and trust me when I tell you that virtual memory is a god send to software development).
    There are a lot of problems running a modern operating system with out virtual memory.  For example all the shared libraries and frameworks that provide services to an application would all need to be compiled into the application, which means every application gets bigger and instead of having a single copy of the shared library or framework, you would have dozens of copies wasting your RAM.
    Without virtual memory, you would be required to find a contiguous chunk of RAM to run your application.  Think of this like going out to dinner by yourself, you can find any available table, but if you go to dinner with your extended family, you need a table for 10 to 15, and if you are going to dinner with your high school graduation class, you will need hundreds of seats all next to each other and a very large table.  In the later situations you have to wait until the resturante has enough contiguous space, which means you have to wait until other diners finish.  There may be lots of empty tables, but they are not together, and your group wants/needs to sit together.  Virtual memory allows gathering any 4K chunk of RAM, building a virtual memory map for all those random 4K chunks, and make it look like one big contiguous chunk of RAM, so you can run your application right away, no waiting.
    Going back to shared libraries and frameworks.  This code will need to have addresses resolved so they branch to the correct locations during execution, and it will need to have addresses resolved on where its program variables are located in RAM.  Using virtual memory, you can local a shared object into RAM, then place it in everyone's virtual memory map at the exact same RAM address.  This means everyone can use the exact same code, and since everyone is using it at the same RAM address, it makes life so much easier for the operating system (translation, less work, less wasted CPU time, faster execution).
    When a program wants to grow, for example a web browser loading a web page (and its images) into RAM, it needs to allocate additional RAM.  In the contiguous RAM model, you need to get control of the RAM that imediately following your program, but if that RAM is being used by someone else, you have to wait until that program goes away.
    Virtual memory provides protection from another program looking at and modifying your program's RAM.  Malware would just love for virtual memory to go away.
    You want virtual memory.  What you do not want is excessive paging activity.
    If you are concerned, then you can launch Applicaitons -> Utilities -> Terminal.  Once you have a terminal command prompt, enter the following command:
    sar -g 60 100
    which will tell you the number of 4k pages written to /var/vm/pagefile ever minute for 100 minutes (modify the numbers to suit your tastes).  You can then go about your normal usage, and come back later to see how much you have been using the pagefiles.  If you have mostly zeros, and an occasional small burst, this is noise, and not worth worrying about.  If you have sustained pageout activity, with higher numbers, then you should either consider running less things all at the same time, or looking for an application that is being greedy with its memory use (or has a memory leak), OR get more RAM for your Mac if you need to do all those things at once.
    But do not complain about virtual memory.  Life would be much worse without it.  Then again if you have a better idea, write a research paper, and get operating system vendors (as well as hardware vendors) to implement your ideas.  I am serious, as I've seen many accepted computing ideas be overturned by good new ideas.

  • Problem with out of memory and reservation of memory

    Hi,
    we are running a very simple java program on HP-UX that do some text substitution - replacing special characters with other characters.
    The files that are converted are sometimes very large, and now we have come to a point where the java server doing the work crashes with "Out of memory" message. (no stack) when it process one single 500MB large file.
    I have encountered this error before(with smaller files) and then I have made the maximum Heap larger, but now when I try to set it to 4000M
    i get the message:
    "Error occurred during initialization of VM
    Could not reserve enough space for old generation heap"
    When it crash with this message, my settings are:
    -XX:NewSize=500m -XX:MaxNewSize=1000m -XX:SurvivorRatio=
    8 -Xms1000m -Xmx4000m
    If I run with Xmx3000m instead the java program starts but I get Out of memory error like:
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    The GC log file created when it crashes looks like:
    <GC: -1 31.547669 1 218103808 32 219735744 0 419430400 0 945040 52428800 0 109051904 524288000 877008 877008 1048576 0.934021
    >
    <GC: -1 62.579563 2 436207616 32 218103808 0 419430400 945040 944592 52428800 109051904 327155712 524288000 877008 877008 1048
    576 2.517598 >
    <GC: 1 65.097909 1 436207616 32 0 0 419430400 944592 0 52428800 327155712 219048400 524288000 877008 877008 1048576 2.061976 >
    <GC: 1 67.160178 2 436207616 32 0 0 419430400 0 0 52428800 219048400 219048400 524288000 877008 877008 1048576 0.041408 >
    <GC: -1 128.133097 3 872415232 32 0 0 419430400 0 0 52428800 655256016 655256016 960495616 877008 877008 1048576 0.029950 >
    <GC: 1 128.163584 3 872415232 32 0 0 419430400 0 0 52428800 655256016 437152208 960495616 877008 877008 1048576 3.971305 >
    <GC: 1 132.135106 4 872415232 32 0 0 419430400 0 0 52428800 437152208 437152208 960495616 877008 876656 1048576 0.064635 >
    <GC: -1 256.378152 4 1744830464 32 0 0 419430400 0 0 52428800 1309567440 1309567440 1832910848 876656 876656 1048576 0.058970
    >
    <GC: 1 256.437652 5 1744830464 32 0 0 733282304 0 0 91619328 1309567440 873359824 1832910848 876656 876656 1048576 8.255321 >
    <GC: 1 264.693275 6 1744830464 32 0 0 733282304 0 0 91619328 873359824 873359824 1832910848 876656 876656 1048576 0.103764 >
    We are running:
    java version "1.3.1.02"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1.02-011206-02:17)
    Java HotSpot(TM) Server VM (build 1.3.1 1.3.1.02-JPSE_1.3.1.02_20011206 PA2.0, mixed mode)
    We have 132GB of physical memory and a lot of not used Swap space, so I cant imagine we have a problem with that.
    Can anyone please suggest what to do proceed troubleshooting or to change some settings? I'm not into this Java really so I really need some help.
    Usually the java program handles thousands of smaller files (around 500 KB - 1 MB sized files).
    Thanks!

    You have a one to one mapping? Where one character is replaced with another?
    And all you do is read the file, replace and then write?
    Then there is no reason to have the entire file in memory.
    Other than that you need to determine if the VM (which is not a Sun VM) has an upper memory bound. That would be the limit that the VM will not go beyond regardless of memory in the system.
    We have 132GB of physical memory and a lot of not used Swap spaceOne would wonder why you have swap space at all.

  • How can one use the physical memory of our system rather than virtual memory while running Labview?

    We have a Windows NT system with 2 Gb of physical memory and would like to utilize the RAM fully using Labview. What usually occurs is that Labview uses a tremendous amount of page file space while a majority of the physical memory is unused. Is there a way to configure Labview (or our system) to overcome this problem? It seems that our processes would be much faster if they were mainly using the physical memory. Is it possible to trick the system, by creating a RAM disk and allocating this as virtual memory space?

    > We have a Windows NT system with 2 Gb of physical memory and would
    > like to utilize the RAM fully using Labview. What usually occurs is
    > that Labview uses a tremendous amount of page file space while a
    > majority of the physical memory is unused. Is there a way to
    > configure Labview (or our system) to overcome this problem? It seems
    > that our processes would be much faster if they were mainly using the
    > physical memory. Is it possible to trick the system, by creating a
    > RAM disk and allocating this as virtual memory space?
    LabVIEW the application doesn't know anything about physical versus
    virtual memory. LV asks the OS for general purpose memory and goes
    from there.
    Drivers like DAQ and IMAQ will have a combination of general user
    memory and page lo
    cked physical buffers.
    I'm not up on the details, but this is something that the OS is in
    control of, so that is where you need to look for the solution. One
    of the things to look at is the disk cache. By default, I think that
    NT takes a percentage of the RAM to use for disk cache. With that
    much RAM, this is probably unnecessary and is using too much.
    Similarly, the OS may be attempting to keep the working set size
    to a fraction of the total RAM to reserve space for other things.
    It doesn't make sense to me, but then I don't work for MS.
    Greg McKaskle

  • SQL Server Memory And Di Object

    Hello Experts
    I'm doing a loop which use some DI Objects. This loop occurs more than 80 000 times.
    In this loop I manage a BusinessPartner Di Object like that
    private static SAPBobsCom.BusinessPartners myPartners;
    while(...)
    myPartners = (SAPBobsCom.BusinessPartners)Di.GetBusinessObject(oBusinessPrtners);
    myPartners.GetbyKey(...)
    //treatments
    //Sometimes
    myPartner.Add()
    myPartner.Update()
    //Always
    System.runtime.....releaseComObject(myPartner)
    GC.Collect();
    GC.WaitForPendingFinalizers();
    It works fine but the sqlServer Process take more and more Memory and arrive to 1 200 mb RAM.
    I have to re-start the SQL Server Service to erase memory, no DBCC query work.
    have you any Idea to stop this memory grow ?
    Thanks a lot for Ideas...

    Hi Julien,
    The amount of memory that SQL Server takes should level out. When you run an intensive process the memory manager will start taking chunks of memory to boost performance. Typically it won't release this memory unless the server is low on physical memory and another application requires more memory. However, when you next run the process, SQL will use up the RAM that is already available to it before requesting more. This should mean that your process will not take any significant extra memory next time it is run (assuming the same workload at the time).
    SQL will typically only have a 100MB footprint when it has just been started. On a production system, I would expect to see 1-2GB of memory being used by SQL on an average SBO site (more for larger sites and more if the client uses large XL Reporter reports or query intensive addons like Fixed Assets).
    Although SQL Server 2000 was a little prone to leaking memory, I have not known this to be the case in SQL 2005.
    Have you tested running your script twice in a row?
    Kind Regards,
    Owen

  • Shown Physical Memory value of BWA in TREXADMIN

    Hi,
    In BWA I have four blades each with 24 GB of physical memory and 12 GB of swap space. Out of 4 blades, 2 blades are backup (This is what I can see from TREXADMIN).
    In TREXADMIN -> Summary, within "Memory" section it shows 94.1 GB Phys-Available. Does anybody know where this number came from? I tried all combination of total physical memory with 2 and 4 blades but I am not getting this 94.1 GB number. Anybody?
    Thanks

    Thanks for replying.
    Tansu,
    When you say its approximate total physical memory size means it is considered for all 4 bladeds. Correct?
    I checked RSDDSTATBIAUSE and DB_FALLBACK coloumn does containg zero entries as you mentioned.
    I am trying to get information of BWA usage. As you know SAP recommend to have BWA usage should be within 50% to have healthy system. If I cehcekd TREXADMIN -> Summary, within "Memory its shows some kind of percentage, which I am trying understand whether it is related for all 4 blades or only 2 blades. 
    Thanks

  • Reduce Physical Memory Amount on Windows 2003

    Hi all,
    I need more information about reducing physical memory amount on windows 2003 64bit. 
    I have Front End Exchange Server 2003 with 48 Gb Physical Memory, and i want to reduce physical memory to 16Gb. Is there any impact to exisiting OS or Exchange Server?
    Regards,
    Rengga Patria 

    Hi Rengga,
    For the impact to the whole operating system, it depends on the server’s workload.
    As to the impact to the function of the Exchange Server role, as far as I know, 4 GB of random access memory (RAM) is the maximum amount of memory that an Exchange Server
    computer can efficiently use.
    Regarding physical memory and Exchange server 2003, the following articles can be referred to for more information.
    Pushing the Limits of Windows: Physical Memory
    http://blogs.technet.com/b/markrussinovich/archive/2008/07/21/3092070.aspx
    Exchange Server 2003 Processor and Memory Scalability
    http://technet.microsoft.com/en-us/library/aa996184(v=exchg.65).aspx
    Exchange 2003 Memory Configuration change for Windows 2003 (PAE Support)
    http://blogs.technet.com/b/exchange/archive/2005/07/05/407330.aspx
    In addition, for this is concerning Exchange Server role, in order to get better advice, we can ask for suggestions in the following Microsoft TechNet Exchange Server Forum.
    Exchange Server Forum
    http://social.technet.microsoft.com/Forums/exchange/en-US/home?category=exchangeserver
    Best regards,
    Frank Shen

  • Kernel, virtual and physical memory

    Hi,
    I would like to get a clarification of the uses of the terms kernel, virtual and physical memory. Functions like kmem_alloc provide non-paged 'kernel' memory, but is this a pointer to a physical memory address, or is it similar to a virtual address that gets mapped by the memory management when it is referenced like virtual memory?
    Is there a way to determine a mapping between a virtual address and a physical address? (like vtophys in bsd or virt_to_phys/virt_to_bus in linux) ?
    Is all memory that is normally used within a driver (e.g. messages through a STREAM or DMA areas) 'kernel' memory, and is this a direct physical memory address (as asked above)?
    Many thanks
    S.

    Hi,
    Most kernel code and device drivers will only use virtual addresses. Yes, it is right!
    But I want to access a specific physical address.
    Because the bus bridge chip with PCI bus-master access a specific physical address directly.
    My system configuration is below:
    Platform: IA32
    Address map:
    0x00000000 - 0x000FFFFF: Main Memory, VGA Frame Buffer, Boot ROM
    0x00100000 - 0x0FFFFFFF : Main Memory(DIMM) - 255MB*
    0x10000000 - 0xFEBFFFFF: PCI bus memory space
    0xFEC00000 - 0xFFF7FFFF: Not Used
    0xFFFF8000 - 0xFFFFFFFF: Boot ROM
    *My system has 128MB DIMM on board.
    The bus bridge chip access a physical address at 0x06000000.
    I tested whether it would be set up correctly by using Linux as follow:
    1) Memory size is specified to 96MB compulsorily.
    init: Linux mem=96M
    2) Access to Physical address space via virtual address in kernel space.
    init_module(){
    va = iormap(0x06000000, size);
    *va = value;
    value = *(va+n);
    3) work good.
    I tried on Solaris by the same way.
    But I cannot find working.
    1) Memory size is specified to 96MB compulsorily.
    In /etc/system:
    set physmem=23723 <- Page size is 4K in my system. lower than 96MB.
    2) Access to Physical address space via virtual address in kernel space.
    xxx_attach(){
    ddi_regs_map_setup();
    ddi_putX(value);
    value = ddi_getX();
    driver.conf
    name="xxx" class="sysbus" reg=0,0x06000000, size;
    And I tried access by using /dev/mem.
    This also went wrong.
    dose anyone have good idea?
    Toru OHATA

  • HP Pavilion dv6 Vista Recovery - Physical memory dump w/ error code 0x000000F4 (and others)

    Hello Everyone, 
    This is my first time posting in the forums so I hope that I have chosen the appropriate area and will do my best to be brief but informative. 
    Computer: HP Pavilion dv6000
    Operating System: Windows Vista.
    For the past 6-8 months it has been unable to perform Windows Update citing that the most likely reason was a virus. I have tried numerous trouble shooting options when it was recommended that I perform a chkdsk. After initiating a chkdsk in Command Prompt, my computer restarted and had a black screen with no cursor. After watching this for 2 hours and realizing that none of the usual chkdsk progress or text was coming up I made the decision to force shut down.
    When I rebooted, I was told to enter system recovery which I did and completed a system recovery from the hard drive. After the system recovery finished and the laptop restarted, I experience a Blue Screen of Death due to a physical memory dump. The error codes are STOP: 0x000000F4 (0x0000000000000003, 0xFFFFFA8006671040, 0xFFFFFA8006671278, 0xFFFFF80001D01DA0). 
    I am not able to boot in safe mode. In the start up repair, I am able to enter command prompt from which I started chkdsk again. Both chkdsk f/ and chkdsk r/ passed with no errors. Additionally, the computer passed both UEFI Hard Drive and Memory tests. I have system recovery CDs for the computer but they fail at 78% completion.
    Please let me know if you have any questions or require anymore information. I would appreciate any and all advice!
    Thank you!
    This question was solved.
    View Solution.

    Hello @GraydonS,
    Welcome to the HP Forums, I hope you enjoy your experience!
    I have read your post on how there is an error message being displayed on your notebook, being a Blue Screen of Death (BSOD), and I would be happy to assist you in this matter!
    Since you are having recovery issues with your system, I recommend following this document on Troubleshooting System Recovery Problems (Windows Vista). This should help you to successfully recover your Operating System.
    If the issue persists, please call our technical support at 1-800-474-6836. If you live outside the US/Canada Region please click the link below to get the support number for your region.
    http://www.hp.com/cgi-bin/hpsupport/index.pl
    I hope this helps!
    Regards  
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • How to prevent physical memory filling up and crashing Firefox (22.0) when watching Flash-based videos?

    This happens maybe 30-50% of the time when I watch a video online, whether it be on YouTube or other streaming site. This usually happens when the video is at least 20 minutes long, and about 8-9 minutes in.
    Looking at the Task Manager, my memory fills up to nearly its max (3.8-3.9 GB out of 4 GB) for a while before Firefox crashes. How can a video that is not very high definition take up that much physical memory space? After Firefox crashes, the RAM used immediately drops back below 1 GB.
    Is this a Flash bug or a Firefox bug/leak? Or maybe my browser customization is at fault? It does not happen on Chrome.

    Well, doomsdaze's rant didn't help solve my problem, but it actually makes me feel better about switching to Chrome.
    Yes, I switched browsers, set up all-new extensions and settings, and accepted other inconveniences because I couldn't watch videos in peace on Firefox.
    I had no idea there were so many others with this problem!

  • Relative size of sga_max_size and sga_target to the physical memory

    Dear Experts,
    I have installed oracle 10.2.0.4 on AIX 5.3 with 32 GB of physical memory.
    Let us say other applications on the server consume 10 GB of physical memory.
    Now how should i plan the size of SGA_TARGET and SGA_MAX_SIZE on the same.

    As per Oracle® Database Performance Tuning Guide 10g Release 2 (10.2):
    You must then divide the resulting memory between the SGA and the PGA.
    For OLTP systems, the PGA memory typically accounts for a small fraction of the total memory available (for example, 20%), leaving 80% for the SGA.
    For DSS systems running large, memory-intensive queries, PGA memory can typically use up to 70% of that total (up to 2.2 GB in this example).
    Good initial values for the parameter PGA_AGGREGATE_TARGET might be:
    For OLTP: PGA_AGGREGATE_TARGET = (total_mem * 80%) * 20%
    For DSS: PGA_AGGREGATE_TARGET = (total_mem * 80%) * 50%
    where total_mem is the total amount of physical memory available on the system.
    (http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#i49320)

  • Why Firefox 5 eating up 1074424KB of my 2027520KB physical memory, with 9 tabs has loaded pages and 6 problem loading page as i stoped them?

    Firefox was minimized i was doing something else but while switching to another application the screen got frozen, when it become normal i checked Task Manager and got Firefox is using 10744424KB (almost 53% of physical memory). As stated in question 9 tabs finished loading and another 6tabs showing problem loading page as I stopped them clicking on offline mode and when they stopped loading I switched to online mode.

    Yes, Safari Web Content can use a lot of RAM.  However, I don't think that would be the cause of crashing; lots of memory use rarely causes crashes.  Poorly written software that runs in kernel space (AV software fits this), can cause this.
    Safari Web Content is "caching" a lot of stuff.  More than I'd like it to.  If you have 47 tabs open, and close them down to 1, SWC will still often be taking up a lot of RAM.  If you quit and restart Safari it will give the memory back, though in general if the system is under memory pressure I think SWC will also release some more RAM.  In general I never notice this to be an issue.
    I think with OS X Mavericks things may improve as well, based on details on the Safari tab, as well as with "Compressed Memory" which would help as your system approaches using all its RAM:
    http://www.apple.com/osx/preview/advanced-technologies.html

Maybe you are looking for