Physical Memory vs. Usage Memory Help

I finished a new build using an MSI K9a Platinum MB. 
I have a dual channel kit of mushkin 4GB (2GB x 2) DDR2 memory.  When I install both sticks the BIOS shows (under system information) 4096MB Physical Memory but Usage Memory is only at 2.5GB.
If I take a stick out I get Physical and Usage Memory at 2048MB.
When I first got the board the BIOS was version 1.4.  Windows XP 64 would not install with both sticks installed.  It would boot from CD and hang right after I installed my RAID drivers / before selecting a HD to install to (where it says 'Windows is now starting' after it loads the drivers).  Going to 1 stick / 2 GB solved this and windows installed fine.
After installing windows, updated to service pack 2, and did all system updates/drivers I put in the other stick and Windows hung at the startup screen.
I updated the BIOS to 1.5 and now windows will boot with both sticks but it only sees 2.5 GB, not all 4 GB.  CPU-Z shows that both sticks are installed and recognised correctly but I'm only able to get 2.5 GB in Windows XP 64.
The BIOS recognises 4 GB are installed but will only let me use 2.5 GB.  Any clues as to why?
Thanks!

"After installing windows, updated to service pack 2, and did all system updates/drivers I put in the other stick and Windows hung at the startup screen.
I updated the BIOS to 1.5 and now windows will boot with both sticks but it only sees 2.5 GB, not all 4 GB.  CPU-Z shows that both sticks are installed and recognised correctly but I'm only able to get 2.5 GB in Windows XP 64.
The BIOS recognises 4 GB are installed but will only let me use 2.5 GB.  Any clues as to why?"
suggest you new fresh OS installation XP x64 with SP2 included. also check the boot.ini ensure /PAE switch is there(should be there by default) ensure the PAE is active:

Similar Messages

  • SQL SERVER PHYSICAL MEMORY USAGE HIGH

    HI Teams,
    i am  going threw one of my production high physical memory usage in SQL Server. It always
    around 90%.When i reboot the server, it will initially good but end of the day it will around 95 to 98% physical memory usage.
    please give the valid solutions..,
    Regards,
    DBA 

    This is an expected/normal behaviour in SQL Server box. Memory management is highly dynamic in SQL Server and will use the complete memory allocated to SQL Server. It is also important to set the MAX SERVER MEMORY for the SQL Server instance. You may not
    need to worry about this unless you find any performance issues.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped.
     [Blog]

  • High usage of physical memory

    hello,
    i  just bought my first mac few days ago, and i have a question about the physical memory usage,
    my mac is macbook pro 13' with retina display and 8 GB, and i think that for some reason my memory usage is significantly high then it should.
    when i'm just using safari, i have about 600 MB available (and sometimes even about 200 MB)
    is it fine? what is the regular memory usage in the mac?

    The new OSX's will use as much RAM as is available, if possible.  No longer is the amount the metric, but 'Pressure'.  If if is green, all is well.
    https://support.apple.com/en-us/HT201464
    Ciao.

  • How to make use of the spare physical memory under buffered I/O of Essbase

    We encountered an issue of the physical memory allocation of the server running Essbase with buffered I/O mode. We have implemented some cache setting in Essbase but still found that the disk I/O is quite high. Also we observed that Windows 2003 server cannot make use of the spare physical memory available as the system cache for database files of Essbase.
    As allocating more memory as Essbase cache might not help, we would like to know other than changing to direct I/O mode, any other options can improve the disk I/O performance?
    Thanks!

    Sandeep Reddy wrote:
    Hi Hyperion_User,
    1. Disk IO performance,It mighe depend on quite a few things , one of the aspects might be your storage system. It can depend on the disk configuration too ( i.e if your disk is SAN or NAS, then it depends on the configuration like Raid ..etc).
    2. It depends on the HBA ( host bus adapter).
    3. Let me try to explain with diagram.
    http://www.c-sharpcorner.com/uploadfile/freebookarticles/apress/2008dec16010208am/DataStorageDesign/Images/159059214X-1404.1.gif
    4. It might depend on the HBA and even on the switch speed.
    5. Buffered IO is a very generic setting,which most of them use( that should not be an issue).
    6. Even if you have 30 to 40 GB free memory, every application in essbase has a limitation to it maximum usage ( 2 GB on windows ). Refer to DBAG for more information on this .
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/
    Thanks for your detailed advice. I just wonder if more physical memory can help to improve the disk I/O being used for concurrent read/write access. We are using Windows 2003 Enterprise Edition and not sure whether some spare physical memory can be used for this purpose.
    Thanks again!

  • Physical Memory: 97%

    I have a SQL Server 2008 R2 on Windows Server 2008 R2, on 64-bit virtual machine, dual processors dual quad core , and 32 GB RAM.
    If I restart the server, and after all the processes and services start running, the used memory is not more than 4 ~ 6 GB (I don't remember exactly, but small compared to the overall 32 GB). Every day the used memory increases for 2~3 GB!, till it reaches
    97% of the physical memory (31 GB),  29 GB of them for the SQL Server:
    My question is how can I know what SQL Server processes or queries causes those increases in the memory? and if it is a process or query, why the used memory is not released after that process or query finishes ?!
    Honestly, there is no complain about the performance of the server, but the weird thing is that as much as I give the server RAM as much as the SQL Server takes! The server was 8 GB and I increased it to 16 then 32 GB, but the SQL Server keeps eating more
    and more!

    Hi,
    >>If I restart the server, and after all the processes and services start running, the used memory is not more than 4 ~ 6 GB (I don't remember exactly, but small compared to the overall 32 GB). Every day the used memory increases for 2~3 GB!,
    till it reaches 97%
    This is the way SQL Server memory works.When you restarted it its usage was low slowly you started running complex queries on SQL server which required pages from disk now SQL server started bringing these pages from disk into memory to make sure your query
    is satisfied .Now when second time you use same query it will be fast as comapared to previous attempt as now there is no use of bringing pages in memory .Now if SQL would have released memory back your time taken would have been same and you would complain
    about query being slow.This is the reaosn SQL caches as much data page it can so as to satify query from meory not picking pages from disk which is costly.But if Os faces presasure and SQLOS asks SQL server to trim its memory consuption it will do it politely.So
    please dont be alarmed with SQL server using memory.
    PLease dont look at task manager for SQL server memory consumption it might not show you correct memory utilization .I always recommend below DMV
    select
    (physical_memory_in_use_kb/1024)Memory_usedby_Sqlserver_MB,
    (locked_page_allocations_kb/1024 )Locked_pages_used_Sqlserver_MB,
    (total_virtual_address_space_kb/1024 )Total_VAS_in_MB,
    process_physical_memory_low,
    process_virtual_memory_low
    from sys. dm_os_process_memory
    If you do not want SQL server to use much memory you can change it from sp_configure by setting lower value for max server memory.But I am in favour you shoudl not do that .Set an optimum value for max server memory leaving 7-8 G for OS and other processes
    running.
    >>My question is how can I know what SQL Server processes or queries causes those increases in the memory?
    I have never tried that and its little difficult to find what process unless that process is runnin.There is DMV sys.dm_os_buffer_descriptor which will tell you which database is using how much memory.Below query will resturn count of page loaded by each
    database
    http://technet.microsoft.com/en-us/library/ms173442.aspx
    SELECT COUNT(*)AS cached_pages_count
    ,CASE database_id
    WHEN 32767 THEN 'ResourceDb'
    ELSE db_name(database_id)
    END AS database_name
    FROM sys.dm_os_buffer_descriptors
    GROUP BY db_name(database_id) ,database_id
    ORDER BY cached_pages_count DESC;
    For further reading about memory to know that its really a normal behavior please see
    Basics of memory
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • 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.

  • 4GB Physical Memory but 3.67GB Used

    Hey there, I'm not so great with computers, I essentially know the basics, and thought might as well post a question about it and see where that takes me. I appreciate the help! Thanks in advance!
    I have a 13-inch Macbook pro (Mid 2012) with 4GB memory. I was browsing around and discovered a table in the activity monitor stating the following;
    - Physical Memory: 4.00GB
    - Memory Used: 3.75GB
    - Virtual Memory: 4.51GB
    - Swap Use: 35.3 MB
    From reading other questions and the responses to them I have realized that Maverick takes up a lot of memory but I'm not quite sure why my swap used isn't zero. I don't have much on this Macbook and have bought it recently. Why is the Swap use not zero? Is it a bad thing that it's 35.3MB?
    The reason I was looking around was to figure out if my Macbook would be good to run downloaded games and such on; this is a shared laptop and that's what my brothers are interested in doing for the most part. Yes, we have a huge age gap.
    Much appreciated,
    Simran

    Swap is always used. No big deal. What is a big deal is PageOuts.
    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    OS X Mavericks- About Activity Monitor
    Memory Management in Mac OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Primavera windows services physical memory utilization continously goes up.

    Hi All,
    In our primavera server, primavera services memory utilization continously goes up, even no user logged to application.
    may i know, what is causing this?
    Is any solution for this.

    hi team,
    we  are having 2 node cluster setup and 3 sql server instances, those 2 nodes are active and passive.
    my 3 sql server services are running on active node, here how we can find the which instance services occupied more physical memory.
    go to task manager --> processes-->
    here it's showing like this but it did't show the sql server instance name, how we can find the instance wise memory utilization's 
    Image name
    Username
    Cpu %
    Memory Usage
    Description
    Sqlservr.exe
    Service account name
    30
    8,740,123kb
    Sql server  windows NT64 bit
    Sqlservr.exe
    Service account name
    18
    5,450,122kb
    Sql server  windows NT64 bit
    Sqlservr.exe
    Service account name
    27
    2,125,730 kb
    Sql server  windows NT64 bit
    Hello,
    Below query will tell you SQL server utilization.And please dont refer to task manager for SQL server memory consumption.It might not always show you correct value.
    http://mssqlwiki.com/sqlwiki/sql-performance/troubleshooting-sql-server-memory/
    Below query only valid for SQL server 2008 and above.Run it on each instance
    select physical_memory_in_use_kb/(1024) as sql_physmem_inuse_mb,
    locked_page_allocations_kb/(1024) as awe_memory_mb,
    total_virtual_address_space_kb/(1024) as max_vas_mb,
    virtual_address_space_committed_kb/(1024) as sql_committed_mb,
    memory_utilization_percentage as working_set_percentage,
    virtual_address_space_available_kb/(1024) as vas_available_mb,
    process_physical_memory_low as is_there_external_pressure,
    process_virtual_memory_low as is_there_vas_pressure
    from sys.dm_os_process_memory
    go
    Also some memory are allocated directly by windows  which might not come from buffer pool can also increase memory consumption
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • 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

  • IPOD causes "Blue Screen of Death" with physical memory dump

    Plugged in the IPOD into USB port on computer. It shows "found USB device" and then 5-10 seconds later I get the blue screen of death and a notification that there is a driver error and a physical memory dump as occurred.
    Spent two hours with Apple people and Dell people this morning and nothing. I have updated drivers, flashed my bios, uninstalled and then reinstalled the latest version of Itunes.
    Any help would be greatly appreciated.

    what numerical and text codes are you getting with it? (ie 0x[zeros/letters/numbers] CAPSANDUNDERSCORES)
    if the blue screen mentions a specific file, let us know what that is called too. (exact spelling, please.)
    here's a reference on the sorts of things i'm asking about:
    Troubleshooting Windows Stop Messages
    if you're just seeing a flash of a blue screen, we can use this technique to make hidden blue screens appear for us:
    1) Open your system control panel (Start->Control Panels->System).
    2) Select the "Advanced" tab.
    3) Click the "Startup and Recover" section's "Settings" button
    4) Verify that under "System Failure" the "Automatically restart" checkbox is not checked.

  • 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!

  • Physical Memory failure (DUMP)

    I use SIS 648FX Chipset Based 648F NEO Series
    using Pentium 4 HT 2.8 GHz processor
    i already use Kingston 512 MB DDR 400 MHz PC3200 DIMM 3-3-3 for 3 months already. Yesterday I bought  1 more of Kingston 512 MB DDR 400 MHz PC3200 DIMM 3-3-3 to upgrade the RAM Memory
    It doesn't work, computer doesn't even start. Before that my computer has 256 MB 266 Mhz memory module. It's strange, but if i reset CMOS settings with help of changing jumper position, the system starts.
    If I use only one dimm than the computer can start.
    I try both of the dimm. Both can start.
    But when I use 2 dimm of Kingston 512 MB DDR 400 MHz PC3200 DIMM 3-3-3, the computer doesn't start.
    IRQL_NOT_LESS_OR_EQUAL
    Technical Information
    ***STOP: 0x00000A (0x3B08518D, 0x00000002, 0x00000001, 0x804F7444)
    Beginning dump of physical memory
    Physical memory dump complete.
    Contact your system administrators or technical support group for further assistance.
    MSI EXPERT pls help me ASAP

    I had that experience.
    First I tried boot with 1 DDR and Enable 'DRAM Timing by SPD' in CMOS setting.
    And then I boot with both DDR. It solved my problem.
    Then I tried to tweak DRAM Timing again.
    You also increase RAM voltage little each time.
    Cheer!!!

  • 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!

  • Gathering physical memory for SQL 2005..SQL 2014

    Hi All,
    I'm trying to write a query to gather physical memory across my SQL servers (from SQL 2005 to SQL 2012).
    However, the sys.dm_os_sys_info DMV (the column for physical memory) is not the same after the switch to SQL 2012+.
    Here is the original query:
    SELECT
    @@SERVERNAME AS ServerName,
    CASE WHEN LEFT(CAST(serverproperty('productversion') as char), 1) = 9 THEN '2005'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 4) = 10.0 THEN '2008'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 4) = 10.5 THEN '2008R2'
    WHEN LEFT(CAST(serverproperty('productversion') as char), 2) = 11 THEN '2012'
    END AS MajorVersion,
    SERVERPROPERTY ('productlevel') AS MinorVersion,
    SERVERPROPERTY('productversion') AS FullVersion,
    SERVERPROPERTY ('edition') AS Edition,
    SERVERPROPERTY('collation') as Collation,
    cpu_count as CpuCount,
    physical_memory_in_bytes/1024/1024 as PhysMemMB
    FROM [sys].[dm_os_sys_info]
    If I run that on SQL 2014, it fails because 'physical_memory_in_bytes' is now called 'physical_memory_kb'
    I tried to do an IF..THEN..ELSE:
    IF (cast(serverproperty('productversion') as char) like '11.%')
    Then change the query accordingly but it would fail because i guess when it tried to parse the whole code, one of the T-SQL variations would have a column that did not exist in that particular version of SQL Server.
    Is there a way I can get physical memory across SQL 2005..SQL 2012 or rewrite the T-SQL above to be able to run on both?
    Thanks in advance

    Oh it seemed like you are asking SQL Server memory. the name for physical memory column ha changed only in SQL Server 2012. I wrote below script  just first run select SERVERPROPERTY('ResourceVersion')  to get exact resource database version of
    SQL Server 2012 and then replace it in below script
    IF cast ( SERVERPROPERTY('ResourceVersion') as char (10) )= '11.00.2000'--2012 resource database version
    select (physical_memory_kb/1024)as Physical_mem_MB from sys.dm_os_sys_info
    else
    select (physical_memory_in_bytes/1024/1024) as physical_mem_MB from sys.dm_os_sys_info
    Edit: A more optimized query
    If cast (LEFT( CAST(SERVERPROPERTY('ResourceVersion') AS VARCHAR(20)),2) as INT) in ('11','12')
    select (physical_memory_KB/1024) as Physical_Mem_MB from sys.dm_os_sys_info
    --else it uses for 2005-08R2
    else select (physical_memory_in_bytes/1024/1024) as Physical_Mem_MB from sys.dm_os_sys_info
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles
    Hi Shanky,
    Doesn't work and that's what I meant in my initial post..when I run that code against a SQL 2012 instance, it parses fine but when I execute it I get:
    Msg 207, Level 16, State 1, Line 6
    Invalid column name 'physical_memory_in_bytes'.

  • Physical Memory Dump in Windows 7

    I bought my computer a little over a year ago, an HP Pavillion 6313w, at Wal-Mart. Up until the past week, I started receiving an error when completing a full scan using the Mcafee program that came with Verizon Internet Security Suite about dumping physical memory. A blue screen comes on, it completes the memory dump, and then restarts my computer. It'll ask how I want to start Windows and I'll check normally. It restarts and everything's fine again. No files are lost or anything. I just notice this whenever I complete a full anti-virus scan. I contacted Verizon via Live Chat and was told that my system is corrupt and would need to contact my system vendor. My computer is now out of warranty as of this past March. Is there any way to fix this problem without going through too much trouble or too much expense? One thing I have not done is back up my files and it shows one important message at the bottom. I'm not sure if this is related to a hardware problem. I did recently have some Windows updates completed. I complete a system restore back to about a month ago, but this did not resolve the issue. Any help would be much appreciated.

    Sorry for not having gotten back to you sooner. I did recently follow the directions that you outlined for me and the issue has not come back after I did a full scan on McAfee. Hopefully that is what was needed to correct the problem. Thank you again for all of your help.

Maybe you are looking for

  • My spry collapsible panel will not open or close

    I've been working on a website in dreamweaver cs5 and im trying to add a collapse panle with  text feild  and submit button to it so people can signup to get more info and be apart of the email list. i have the animation button checked in the propert

  • How Can I run multiple independant sessions of LabVIEW on one pc?

    I have tried to accomplish this by creating a second LabVIEW.exe named LabVIEW2.exe. Then I run the original and launch my application, run LabVIEW2.exe and I get a new splash screen but no new instance of LabVIEW in the Task Manager. I have seen thi

  • Cannot paste develop settings to multiple images in Lightroom 3

    I have just started using Lightroom 3 and am only able to paste develop settings to one image.  If I select multiple images it will only paste the setting to the active image, not all selected images. I never had this issue with Lightroom 2.  Is anyo

  • How to load flat file containing data(separated by commas) into cube sapbi.

    hi gurus, please help me with this question? i have some data in the flat file for example, address but with commas for ex: h.no:123,colony,area,hyd-59.now i have even other columns in this flat file like customer name,age.....i want to know ,how to

  • Slow scanning of SFX RAR files

    We have been lately have issues with SCEP 2012 when accessing SFX RAR files. There is a long delay before the file can be access and the CPU% on the MsMpEng.exe service is very high. Simply right-clicking on the file to view properties will result in