Deadlock in memory contention

Hello,
I am workin on Oracle 11g r1 and AIX.
We were facing few deadlock issues from some time and one dat suddenly ORA-00379 : no free buffers available issue also came.
Now i need to check that wether this memory came due to deadlock ?
Just before this error there were deadlocks in the database.
Any idea , if deadlock can occue memoery issues as well , is that oracle will not flush buffers out of memory till transaction over that was hang
bue to deadlock and if same time oracle need more space in memory can raise this issue ?

Deadlocks do not stay around for long - Oracle automatically (within a handful of seconds) picks one of the deadlocked
sessions and rolls it back. Transactions never "hang" due to a deadlock (at least not for more than the few seconds it takes for Oracle to recognize it) Yes you are right to say that Oracle automatically picks the session (the firt session that starts waiting - and not an arbitrarily session) and rolls it back.
However, oracle will not roll back the entire transaction; only one of the statements involved in the deadlock will be rolled back.
The session that receives the ora-00060 error should also terminate its transaction either by rolling back or commiting. Otherwise other sessions could hang also.
Best regards
Mohamed Houri
www.hourim.wordpress.com

Similar Messages

  • SSIS / SQL Memory Contention

    Hi all,
    I'm running SSIS and SQL server on a single PC. 
    I have an ETL process consisting of several SSIS packages to load data from a source OLTP to a data warehouse.
    OLTP DB resides on SQL 2012 instance.
    Datawarehouse resides on SQL 2008R2.
    My SSIS packages 'hangs' and reports it is failing to swap out memory buffers - they're all held by the SQL 2012 (source db) instance.
    On my PC I've configured max memory on each SQL instance:
    PC Memory = 16GB
    SQL 2012 Max Memory = 6GB
    SQL 2008r2 Max Memory = 4GB
    My ETL package now runs smoothly. 
    My question is - what is best practice for managing this memory contention in a production environment. I do not want to limit the available memory to my OLTP db. 
    My ETL is ran once per day  - overnight.  Perhaps I could reconfigure max memory before and after each ETL processs? But I don't like this as it would require a server restart & cold cache for my OLTP apps.
    Thanks for reading. Appreciate suggestions.
    Clay

    OK, It is more clear now :-)
    This is  a developing server, and I assume that you have to hold several instances in order to re-create an environment that is like the production's environment  (I hope this is the reason, otherwise you need a very good reason for holding several
    instances on one machine, which has resources problem, since each instance need lot of resources only to keep it running and most time it is better to have one instance with all the databases, than several instaces on the same machine). I actually have the
    same problem on my developing environment by the way (I have about 8 instances of different database servers). Everything hat i write from now is only recommend for this situation for developing environment!
    The following points should be taken into account and act according:
    This is a small list that can take 2 books if we have time... this is just some point to think about.
    * Remember that SQL Server is trying to use as much memory as you let him in order to execute more efficience, It dose not take into direct consideration of other instances or application. 
    * In order to understand what need to be done you need to monitor what specificly use all the memory.
        ** look at sys.dm_os_memory_clerks
        ** look for DBCC MEMORYSTATUS
        ** look at this link: http://www.mssqltips.com/sqlservertip/2304/how-to-identify-microsoft-sql-server-memory-bottlenecks/
        ** It is good time for Google https://www.google.co.il/search?q=SQL+Server+monitoring+memory
    * Once you found the cause and source for the memory use, you can focus on solving and start reduce memory usage before you start the ETL procces (and mabe during as well).
        **  look for DBCC FREEPROCCACHE 
        ** look for  DBCC DROPCLEANBUFFERS
        ** We can build a better query sometimes
        ** we can pass some of the operation to the disk instead of the RAM
        ** Setting the Memory Options (as you did control max server memory,
    check this link for more info)
        ** look for SET AUTO_CLOSE ON (This is usually not recommended but in your case using several instances this can help a lot sometimes)
    * The ETL proccess do not use only SQL Server but the application that execute it as well. The SQL Server will see the queries. While SQL Server is great in menaging multiple users and multiple paralel actions (or example using locks), some ETL are not so
    good. You need to make sure if the SQL Server return an error or the failed come from the ETL proccess it self. Please post the full error message for mor specific information.
    * Remember that some actions in SQL Server use memory out of the Buffer pool memory and some action are not part of the max server memory (for example some CLR used).
    as I mentioned i can continue this documents for days :-)
    I hope this is helpfull for you as it is :-), and if you have more information (like error messages from log files) we might focuse on other option.
    [Personal Site] [Blog] [Facebook]

  • Error When Starting VM Failed to create memory contents file

    Hi,
    I"m experiencing issue with a VM that has previsoulsy been snapshotted. The snap shots have been since deleted via the Hyper V Manager. The snap shots were not applied to the VM. Also no .avhd files have been deleted via Windows Explorer
    When I start the VM I get the following error message.
    [Window Title]
    Hyper-V Manager
    [Main Instruction]
    An error occurred while attempting to change the state of virtual machine MyVirtualMachine.
    [Content]
    'MyVirtualMachine' failed to initialize.
    Failed to create memory contents file 'D:\Virtual Machines\MyVirtualMachine\MyVirtualMachine\MyVirtualMachine\Virtual Machines\25AB3A86-2950-457A-8D54-9B313E2D575E\25AB3A86-2950-457A-8D54-9B313E2D575E.bin' of size 4096 MB.
    [Expanded Information]
    'MyVirtualMachine' failed to initialize. (Virtual machine 25AB3A86-2950-457A-8D54-9B313E2D575E)
    'MyVirtualMachine' failed to create memory contents file 'D:\Virtual Machines\MyVirtualMachine\MyVirtualMachine\MyVirtualMachine\Virtual Machines\25AB3A86-2950-457A-8D54-9B313E2D575E\25AB3A86-2950-457A-8D54-9B313E2D575E.bin' of size 4096 MB. (Virtual machine
    25AB3A86-2950-457A-8D54-9B313E2D575E)
    [V] See details  [Close]
    Suggestions Welcomed,
    Thanks Adam

    Hi,
    Please check whether you receive these error logs: Event ID 3130, 3131, 3320 or 3321.
    Check the environment in which the start virtual machine operation was being attempted, including:
    access and permissions to the configuration file, memory file and all image files
    prior error messages in the event log
    available RAM on the system
    configuration settings
    disk space for the memory file and any expanding virtual hard disks
    Once the necessary issues have been rectified, try to start the virtual machine again.
    If the problem continues, restart the VMMS Service.
    To restart the VMMS service using the command prompt:
    1. On the computer that has the stopped service, open a command prompt as local administrator and type the following:
    net stop nvpswmi
    If the service is not running, you will see the error "The Hyper-V Networking Management service is not started."
    3. On the command prompt type the following command to start the nvpswmi service
    net start nvspwmi
    If the service start starts you will see the message "The Hyper-V Networking Management service was start successfully."
    To restart VMMS using PowerShell:
    1. On the computer that has the stopped service, open a command prompt as local administrator and type the following:
    C:\PS>restart-service vmms
    For more information please refer to following MS articles:
    Event ID 3130 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd582385(v=ws.10).aspx
    Event ID 3131 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd582367(v=ws.10).aspx
    Event ID 3320 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd582317(v=ws.10).aspx
    Event ID 3321 — Virtual Machine Start Operation
    http://technet.microsoft.com/en-us/library/dd581892(v=ws.10).aspx
    Hope this helps!
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Lawrence
    TechNet Community Support

  • Memory content lost when the battery runs down

    My computer sometimes saves memory content when the battery runs down, as it is supposed to, so that when it restarts it is restored to the state it was in,  but at other times it does not.
    Is there a way to find out why this is and fix it?

    Thanks for the reply.
    Doesn't Apple recommend that you do exercise the battery by using its full capacity? They even recommend running it down from full until the computer saves the contents of memory to the special file, then leaving it 5 hours before charging fully again.
    I have never heard of the 20% threshold before.
    The odd behaviour in my case is that the computer sometimes does what is should: saves the memory then shuts down and when started restores that data, but at others does not save the data first, and starts up normally when I plug in the power and switch on.

  • Syncing notes and phone memory contents

    Hi,
    I have a Nokia X3.  A few questions regarding synchronization:
    1. When connecting it in either "PC suite" or "Data Transfer" mode, only the memory card contents are visible.  Can I access the phone memory contents from the PC?
    2. Can I access the notes on the phone without having (the non-free) Microsoft Outlook installed?  I just need access to the text of the notes, as I tend to take notes while listening to my language lessons using the phone's mp3 player.
    3. How can I transfer recorded audio clips (voice recorder) to the computer?  (I assume these are in the phone memory which doesn't seem to be accessible)

    Hi.....I was surprised to find my new X3-02 phone was telling me to delete items after only a week of very light use ( 4 apps and about thirty photos ).  I have now added a memory card only to find that there seems to be no obvious method to direct my content to the card.  I  would appreciate any assistance as this problem has completely diffused any delight over the new touch and type format.
    Thanks.....Feefifofum

  • How to find the  memory contents

    hai freinds can any one tell my query, i have exported soem field to abap memory,
    during debugging i want to see the contents of it , so u used the system settings and tried i am getting the abap memoried but i am unable to see my memory id
    if any one can help me how to search
    reagrds
    afzal

    Hi,
    When in Debug mode, click SETTINGS TAB & check MEMORY MONITORING.
    Enter the variable name & check the value.
    Best regards,
    Prashant

  • Read memory content directly

    In C language, there are some commands to read the content of the memory given the
    memory address. Can Java language read the content of the memory directly?
    Best regards
    From Hoifo

    No.
    Fortunately ;-)

  • Phonebook memory contents

    If one should take out the rechargeable batteries, for whatever reason, in a BT Synergy 5500 cordless phone or any other of similar type, does one lose the contents of stored phone numbers - hopefully not, I'd assume!
    Solved!
    Go to Solution.

    Safest way is to copy the numbers to a mobile sim ( plenty of free ones around ) by inserting the sim in the base station and selecting copy in the hand set
    Then if the are lost just copy back
    That's for synergy 5500
    If any post helps tick the star box on the left
    Just cause Im paranoid dont mean they are not out to get me

  • SQL Server deadlocks when distribution manager is updating content

    Hi
    I have a ConfigMgr 2012 environment which consists of a single Primary Site running on SQL Server 2008 R2 SP2 CU8. The environment has been upgraded to SP1 CU3 and I'm noticing that the following deadlock error is occasionally being logged in distmgr.log
    when a package or application is distributed or updated on all distribution points. After the deadlock ends the content successfully distributes.
    An extract of the error from distmgr.log is below
    user(NT AUTHORITY\SYSTEM) runing application(SMS_DISTRIBUTION_MANAGER) from machine (LABCM01.lab.local) is submitting SDK changes from site(LAB) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:46 PM 11952 (0x2EB0)
    *** IF NOT EXISTS (select 1 from vSMS_SC_SysResUse_Properties where ID = 72057594037927944 and Name = N'AvailableContentLibDrivesList' ~) insert into vSMS_SC_SysResUse_Properties (ID, Name, Value1, Value2, Value3) values (72057594037927944, N'AvailableContentLibDrivesList', N'FFEDC', N'', 0)~ ELSE update vSMS_SC_SysResUse_Properties set ID = 72057594037927944, Name = N'AvailableContentLibDrivesList', Value1 = N'FFEDC', Value2 = N'', Value3 = 0 where ID = 72057594037927944 and Name = N'AvailableContentLibDrivesList' SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    *** [40001][1205][Microsoft][SQL Server Native Client 11.0][SQL Server]Transaction (Process ID 115) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. : spUpdateSiteControl SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSCItem_Base_Source::UpdateItem: Failed to save item (["Display=\\LABCM01.lab.local\"]MSWNET:["SMS_SITE=LAB"]\\LABCM01.lab.local\,SMS Distribution Point) properties SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSiteSettings::SubmitChanges: Failed to update item(["Display=\\LABCM01.lab.local\"]MSWNET:["SMS_SITE=LAB"]\\LABCM01.lab.local\,SMS Distribution Point) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSiteSettings::SubmitDeltaSCFToDatabase:Failed to submit changes made from (LAB) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    CSiteControlEx::SubmitDeltaSCFFromServerComponent:Failed to submit site control file changes made by componenet SMS_DISTRIBUTION_MANAGER SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    user(NT AUTHORITY\SYSTEM) runing application(SMS_DISTRIBUTION_MANAGER) from machine (LABCM01.lab.local) is submitting SDK changes from site(LAB) SMS_DISTRIBUTION_MANAGER 3/10/2013 2:08:47 PM 1432 (0x0598)
    Any ideas as to why the occasional deadlocks are occurring? 
    Cheers
    Sam

    Thanks guys, I've managed to capture a deadlock using SQL Profiler and the graph is below.
    Additionally the deadlock XML output is below
    <deadlock-list>
    <deadlock victim="process769288">
    <process-list>
    <process id="process769288" taskpriority="0" logused="1476" waitresource="KEY: 8:72057594111983616 (47c4361ec2ad)" waittime="484" ownerId="273355729" transactionname="user_transaction" lasttranstarted="2013-10-08T21:03:59.523" XDES="0x10b357270" lockMode="U" schedulerid="2" kpid="14220" status="suspended" spid="147" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2013-10-08T21:03:59.527" lastbatchcompleted="2013-10-08T21:03:59.527" clientapp="SMS_DISTRIBUTION_MANAGER" hostname="SHDEPLOY2012" hostpid="4004" loginname="NT AUTHORITY\SYSTEM" isolationlevel="read committed (2)" xactid="273355729" currentdb="8" lockTimeout="4294967295" clientoption1="671287392" clientoption2="128056">
    <executionStack>
    <frame procname="CM_LAB.dbo.spUpdateSiteControl" line="12" stmtstart="622" stmtend="1400" sqlhandle="0x0300080041e141055d1bc40049a200000100000000000000">
    MERGE INTO SiteControl AS T
    USING (
    SELECT @SiteCode AS SiteCode, GETUTCDATE() AS DateLastModified
    ) AS S(SiteCode, DateLastModified)
    ON S.SiteCode = T.SiteCode
    WHEN MATCHED THEN
    UPDATE SET T.DateLastModified = S.DateLastModified
    WHEN NOT MATCHED THEN
    INSERT (SiteCode, DateLastModified)
    VALUES(S.SiteCode, S.DateLastModified); </frame>
    <frame procname="CM_LAB.dbo.tr_SC_SysResUse_Property_ins_upd_del" line="22" stmtstart="1594" stmtend="1672" sqlhandle="0x03000800a1e81749c924c40049a200000000000000000000">
    EXEC spUpdateSiteControl @SiteCode </frame>
    <frame procname="CM_LAB.dbo.tr_vSMS_SysResUse_Properties_upd" line="12" stmtstart="728" stmtend="1374" sqlhandle="0x03000800c63fcf7aa431c40049a200000000000000000000">
    update rel
    set rel.Value1=ins.Value1,
    rel.Value2=ins.Value2,
    rel.Value3=ins.Value3
    from SC_SysResUse_Property as rel
    inner join inserted as ins on rel.Name=ins.Name and rel.SysResUseID=ins.ID
    where rel.Value1!=ins.Value1 or rel.Value2!=ins.Value2 or rel.Value3!=ins.Value3 </frame>
    <frame procname="adhoc" line="3" stmtstart="228" sqlhandle="0x02000000a88e68210a5e17dbd208c883c5925dc10fd661eb">
    UPDATE [vSMS_SC_SysResUse_Properties] set [ID] = @1,[Name] = @2,[Value1] = @3,[Value2] = @4,[Value3] = @5 WHERE [ID]=@6 AND [Name]=@7 </frame>
    <frame procname="adhoc" line="3" stmtstart="586" stmtend="1026" sqlhandle="0x0200000089cc65023756c15d75189d92931f875bffb8980b">
    update vSMS_SC_SysResUse_Properties set ID = 72057594037927953, Name = N&apos;AvailableContentLibDrivesList&apos;, Value1 = N&apos;DDC&apos;, Value2 = N&apos;&apos;, Value3 = 0 where ID = 72057594037927953 and Name = N&apos;AvailableContentLibDrivesList&apos; </frame>
    </executionStack>
    <inputbuf>
    IF NOT EXISTS (select 1 from vSMS_SC_SysResUse_Properties where ID = 72057594037927953 and Name = N&apos;AvailableContentLibDrivesList&apos;
    ) insert into vSMS_SC_SysResUse_Properties (ID, Name, Value1, Value2, Value3) values (72057594037927953, N&apos;AvailableContentLibDrivesList&apos;, N&apos;DDC&apos;, N&apos;&apos;, 0)
    ELSE update vSMS_SC_SysResUse_Properties set ID = 72057594037927953, Name = N&apos;AvailableContentLibDrivesList&apos;, Value1 = N&apos;DDC&apos;, Value2 = N&apos;&apos;, Value3 = 0 where ID = 72057594037927953 and Name = N&apos;AvailableContentLibDrivesList&apos;
    </inputbuf>
    </process>
    <process id="process8fa5a748" taskpriority="0" logused="3160" waitresource="KEY: 8:72057595436728320 (d51fef0ca10c)" waittime="206" ownerId="273355664" transactionname="user_transaction" lasttranstarted="2013-10-08T21:03:59.493" XDES="0x12b176e90" lockMode="U" schedulerid="4" kpid="3812" status="suspended" spid="102" sbid="0" ecid="0" priority="0" trancount="2" lastbatchstarted="2013-10-08T21:03:59.800" lastbatchcompleted="2013-10-08T21:03:59.800" clientapp="SMS_DISTRIBUTION_MANAGER" hostname="SHDEPLOY2012" hostpid="4004" loginname="NT AUTHORITY\SYSTEM" isolationlevel="read committed (2)" xactid="273355664" currentdb="8" lockTimeout="4294967295" clientoption1="671156320" clientoption2="128056">
    <executionStack>
    <frame procname="adhoc" line="1" sqlhandle="0x02000000dd107007806e2488472b44e8e2cb235ae39d3ffb">
    delete [vSMS_SC_SysResUse_Properties] where ID=72057594037927955 and Name not in (N&apos;ADSiteName&apos;, N&apos;AllowInternetClients&apos;, N&apos;AvailableContentLibDrivesList&apos;, N&apos;AvailablePkgShareDrivesList&apos;, N&apos;BindPolicy&apos;, N&apos;BITS download&apos;, N&apos;CertificateContextData&apos;, N&apos;CertificateExpirationDate&apos;, N&apos;CertificateFile&apos;, N&apos;CertificatePFXData&apos;, N&apos;CertificateType&apos;, N&apos;DPDrive&apos;, N&apos;DPMonEnabled&apos;, N&apos;DPMonPriority&apos;, N&apos;DPMonSchedule&apos;, N&apos;DPShareDrive&apos;, N&apos;IdentityGUID&apos;, N&apos;IISConfigCheckTimeInterval&apos;, N&apos;InstallInternetServer&apos;, N&apos;IPSubnets&apos;, N&apos;IPv6Prefixes&apos;, N&apos;IsActive&apos;, N&apos;IsAnonymousEnabled&apos;, N&apos;IsMulticast&apos;, N&apos;IsPXE&apos;, N&apos;LastIISConfigCheckTime&apos;, N&apos;MinFreeSpace&apos;, N&apos;PreStagingAllowed&apos;, N&apos;PXEPassword&apos;, N&apos;RemoveWDS&apos;, N&apos;ResponseDelay&apos;, N&apos;Server Remote Name&apos;, N&apos;Server Remote Public Name&apos;, N&apos;SslState&apos;, N&apos;SupportUnknownMachines&apos;, N&apos;UdaSetting&apos;) </frame>
    </executionStack>
    <inputbuf>
    delete [vSMS_SC_SysResUse_Properties] where ID=72057594037927955 and Name not in (N&apos;ADSiteName&apos;, N&apos;AllowInternetClients&apos;, N&apos;AvailableContentLibDrivesList&apos;, N&apos;AvailablePkgShareDrivesList&apos;, N&apos;BindPolicy&apos;, N&apos;BITS download&apos;, N&apos;CertificateContextData&apos;, N&apos;CertificateExpirationDate&apos;, N&apos;CertificateFile&apos;, N&apos;CertificatePFXData&apos;, N&apos;CertificateType&apos;, N&apos;DPDrive&apos;, N&apos;DPMonEnabled&apos;, N&apos;DPMonPriority&apos;, N&apos;DPMonSchedule&apos;, N&apos;DPShareDrive&apos;, N&apos;IdentityGUID&apos;, N&apos;IISConfigCheckTimeInterval&apos;, N&apos;InstallInternetServer&apos;, N&apos;IPSubnets&apos;, N&apos;IPv6Prefixes&apos;, N&apos;IsActive&apos;, N&apos;IsAnonymousEnabled&apos;, N&apos;IsMulticast&apos;, N&apos;IsPXE&apos;, N&apos;LastIISConfigCheckTime&apos;, N&apos;MinFreeSpace&apos;, N&apos;PreStagingAllowed&apos;, N&apos;PXEPassword&apos;, N&apos;RemoveWDS&apos;, N&apos;ResponseDelay&apos;, N&apos;Server Remote Name&apos;, N&apos;Server Remote Public Name&apos;, N&apos;SslState&apos;, N&apos;SupportUnknownMachines&apos;, N&apos;UdaSetting&apos;) </inputbuf>
    </process>
    </process-list>
    <resource-list>
    <keylock hobtid="72057594111983616" dbid="8" objectname="CM_LAB.dbo.SiteControl" indexname="SiteControl_PK" id="lockf8de5880" mode="X" associatedObjectId="72057594111983616">
    <owner-list>
    <owner id="process8fa5a748" mode="X"/>
    </owner-list>
    <waiter-list>
    <waiter id="process769288" mode="U" requestType="wait"/>
    </waiter-list>
    </keylock>
    <keylock hobtid="72057595436728320" dbid="8" objectname="CM_LAB.dbo.SC_SysResUse_Property" indexname="SC_SysResUse_Property_AK" id="lock187f4f680" mode="U" associatedObjectId="72057595436728320">
    <owner-list>
    <owner id="process769288" mode="U"/>
    </owner-list>
    <waiter-list>
    <waiter id="process8fa5a748" mode="U" requestType="wait"/>
    </waiter-list>
    </keylock>
    </resource-list>
    </deadlock>
    </deadlock-list>
    Any ideas? Again this only occasionally happens when content is updated on the distribution points. 
    Thanks
    Sam

  • Need to upgrade memory in ppc mac mini

    Does anyone know of a step by step guide with pictures to installing memory in a ppc mac mini? Need to upgrade to a gig to use some graphics software. Thanks,
    Steve

    In sleep mode (STR) the RAM has to be refreshed to
    keep the memory content, so the more you got the more
    power will be consumed on this.
    Having less ram will therefore benefit battery life
    in sleep mode.
    This is only of concern to portable users of course, and the additional RAM has barely any impact on power demand whether from mains-power or battery. Some admittedly, but not much. Nor would it be all that easy to tell what drain it caused since there are other variables involved with battery drain rates too, such as ambient temperature.
    There is still room for improvement in whatever
    algorithm it is that determines when "inactive"
    memory is released. Paging frequently happens after
    copying large files since all memory is in use and
    "recently" so, even if this use is one where the
    content is NOT likely to be needed again.
    The much hyped idea that "old" inactive memory is
    being released when more is needed I find it
    difficult to confirm, or paging would not be needed.
    Simply caching EVERYTHING does not in my mind count
    as an "intelligent" algorithm..
    As much as this may be valid, there is no way the user is able to change the algorithm - it's part of the operating system. As such, the user can really only take such steps as may be possible to improve the working of the system - one significant such step being adding RAM.
    This can be cleared up by running "repair
    permissions" in DU, since it seems to release much of
    the inactive RAM. It would be much better to have a
    small utility to do this, though, if making the OS
    more intelligent is not an option.
    Running disk utility may be an effective method of resolving memory allocations etc, but it then places the onus on the user to monitor the system and manually activate a process. Part of the appeal of MacOS to many people is that it removes much of the onus users of other operating systems feel is placed on them to keep tuning the system - activities which detract from the use of the system.
    Ultimately, I have to say that I have never found the need to do anything of that sort. I do use MenuMeters (a very neat little app to place system monitoring tools in the menu bar and which uses barely any CPU overhead to do so) to watch the status of my system, but only as an occasional troubleshooting aid when I'm testing software or experimenting with the system. That is about as far as I go with anything other than using the system. Certainly, I've not found any need to perform the sort of tasks that are often being recommended, and even the systems I run 24/7 remain efficient in operation.
    I can say that while my G4 was running off a 5400rpm drive, increasing RAM from 768Mb to 1.5Gb quite dramatically improved performance of both 10.4 and 10.2 but had little benefit in OS9 (all booting from separate drives). The effects were rather less noticeable after swapping out to 7200 drives instead.

  • JDK1.4.0.2 Memory usage on Win 2K.

    By default Win2K does not yield much of the requested Java heap space in physical memory. It appears to give a small fraction to physical memory and the rest is kept in virtual memory.
    I've tuned the platform to have only absolutely necessary system applications running, minimizing other apps memory usage, it always appears that the heap could be allocated in physical memory, but it is just not done by the OS.
    My server has 2 Gb of ram, and my java app requests 1 Gb of heap space.
    I see quite a bit of page faults when my app executes under load.
    Looking at the memory meter in task manager, their appears to be easily more than 1Gb of free ram available, yet my process continues to page fault.
    Is there a way to get the JVM to lock/retain more physical memory and reduce the need to use virtual memory so much? It really does not appear to be a memory contention issue with other apps? I'm using jvm 1.4.0.02 on a dual cpu del 1.5 Ghx with 2gb Ram.
    Regards.

    I am having same problem, did you get a solution yet.
    Thanks
    -Aaron

  • Windows server 2008 r2 virtual machine uses much less memory then it has assigned

    Guys,
    I had a virtual machine with windows 2008 r2 operating system, running sharepoint, on a server where it had 6gb RAM memory assigned.
    Now I bought a new server, which has 32 gb of ram. I moved my virtual machine there, and assigned 24gb of RAM.
    But after I started VM, in Windows Task Manager I see that system uses only about 6.5 GB of RAM assigned. That is not even close to 24gb, which it has available.
    Is there any power shell script or anything else available to increase virtual machine memory usage?
    Thank you. 

    Hi,
    I found a KB similar described with your issue- the Hyper-V host cannot allocate more memory to the virtual machine because there is not enough free disk space to extend the
    memory contents file, more detail symptoms please refer the following KB:
    Dynamic Memory allocation in a Virtual Machine does not change although there is available memory on the host
    http://support.microsoft.com/kb/2504962/en-us
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Ovi Suite can't find my E71's memory card

    When I connect my E71 with an 8GB memory card, I can't sync music nor maps. I get a message that asks me to inseert a memory card.
    I have followed the steps outlined in this thread but to no success: /t5/Nokia-Ovi-Suite/OVI-Suite-2-2-0-245-problem-re​cognizing-Nokia-device/m-p/719958#M4079
    I'm so very frustrated. Anybody can help please?
    Here's a cut and paste from Ovi Suite's system info:
    Nokia Ovi Suite 2.2.0.245
    PC Connectivity Solution 10.26.0.0
    Connectivity Cable Driver 7.1.31.0
    Nokia Ovi Suite Software Updater 2010.18.0.60492
    Maps Service API 4.0.11.0
    Nokia mPlatform 2.6.195
    Ovi Desktop Sync Engine 1.3.0.32
    Operating system:
    Microsoft Windows 7 64-bit Edition
    Language: English
    Detected internet browsers:
    - Microsoft Internet Explorer 8.0.7600.16385 (Default browser)
    Detected Bluetooth stacks:
    - Microsoft (Version: 6.1.7600, Build: 16385)
    Detected USB drivers:
    - Default Hub Driver for USB 6.1.7600.16385
    - USB Modem Driver 6.1.7600.16385
    - EHCI eUSB Miniport Driver 6.1.7600.16385

    Hey,
    Cud u pls confirm few things?
    1) Hav u used ovi maps at least once in recent times(may b after u hav updated ur handset's firmware? any update etc.,)?
    2) Before connecting ur device to Ovi Suite, can u refresh ur memory card?
    Hav u noticed suddenly nokia ovi suite behaves differently.... Any changes hav been done to ur memory card/handset?
    Can u read/view the memory contents on your device/pc?  Is it only happening in ovi suite, i m chcking bcoz to make sure that ur memory card is not corrupted
    If my post helped you, click on Kudos button and if my solution provided is opt 2 u, accpt my solution

  • Re: [REQ] Memory flag or way to monitor DB(dis)connections

    Presumably on Mon, 20 Jul 1998 17:29:29 +0200 Jean-Paul wrote:
    [snip]
    We're currently running an application with some DBSession Service Objects.
    As in both code and partition workshop the parameter 'password' is hidden
    (replaced with ***), we can't be really sure of what they contain.
    Is there any flag or simple way to have every DB connection logged ?
    [snip]
    Jean-Paul
    Be aware that the password is exported as PLAIN TEXT in the workspace export!
    Since there is no code management system in Forte to keep track of versions/changes we have three different environments exporting the entire workspace form dev to test and then from test to live.
    As part of the move we change the password string in the export file before moving from test to live - or so the theory goes.
    If you want to monitor access to the database why not do so at the database level? BTW, what DB do you use?
    Or if you need to keep track of DB access from the application write a little logger routine that writes a line to a central log file reporting whenever the DB access method(s) are accessed. Potential for significant overhead here. Of cause you have to ensure that only the say your designated EntityManager projects are allowed to access your database in the first place.
    Dirk
    Hobart TAS, part of sunny OZ (trust me they said)
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Hmm.
    Thanks for this answer.
    I should have clarified that I wanted to know what they contained at runtime,
    because we don't use hardcoded values (that any pex or wex would show as you spotted),
    but environment variable names which values set at runtime depend on the launcher used.
    (Actually, that's the only way to be portable in both development, test and live environments).
    Therefore, as described below, I'm just looking for any sqlnet call or oracle instance connection
    traceability.
    I " use " oracle 7.X
    To clarify, Fort&eacute; as a set of 'DB*' flags, one of them (we have) being able to trace any SQL call.
    The idea was to 'add' the connection string used (i.e. to try to understand the 'too many processes'
    oracle errors found, whether instance is accessed ; or to monitor the 'please use SQLNET V2' errors).
    Any idea on " ultimate Memory Flags idiot's guide " welcomed.
    Here's our situation :
    All is plain text as you spotted. We use environment variable names in those fields,
    substituted at 'launch' time with memory contents.
    The idea would be to actually see at runtimethe database connection stringn something like :.
    DATABASE CONNECTION
    Caller : Ultimate_XZone_Tetris_Server_Cl34_part32 Partition
    Object : DBSession UnexpectedUserStatsDBSO attached to instance Orcl
    with connection string TetrisGURU/MyNameIsBond@Orcl)
    Knowing that the code relies on those 'service object properties' :
    External Manager : TetrisDBMgr
    Database Name : ${TetrisDBNameString}
    User Name : ${TetrisUserNameString}
    User Password : ${TetrisUserPasswordString}
    and the node manager running XXX_Ultimate_Application_Tetris_Server_Cl34_part32 has
    the three environment variables set as public (i.e. exported to child processes).
    Note : Of course we use uppercase variable names (unix :) ) and don't program tetris.
    Thanks for any idea,
    J-Paul
    De: Dirk Haben[SMTP:[email protected]]
    Date d'envoi: mercredi 22 juillet 1998 04:22
    A: [email protected]
    Cc: Forte-Users Soapbox
    Objet: Re: [REQ] Memory flag or way to monitor DB (dis)connections
    Presumably on Mon, 20 Jul 1998 17:29:29 +0200 Jean-Paul wrote:
    [snip]
    We're currently running an application with some DBSession Service Objects.
    As in both code and partition workshop the parameter 'password' is hidden
    (replaced with ***), we can't be really sure of what they contain.
    Is there any flag or simple way to have every DB connection logged ?
    [snip]
    Jean-Paul
    Be aware that the password is exported as PLAIN TEXT in the workspace export!
    Since there is no code management system in Forte to keep track of versions/changes we have three different environments exporting the entire workspace form dev to test and then from test to live.
    As part of the move we change the password string in the export file before moving from test to live - or so the theory goes.
    If you want to monitor access to the database why not do so at the database level? BTW, what DB do you use?
    Or if you need to keep track of DB access from the application write a little logger routine that writes a line to a central log file reporting whenever the DB access method(s) are accessed. Potential for significant overhead here. Of cause you have to ensure that only the say your designated EntityManager projects are allowed to access your database in the first place.
    Dirk
    Hobart TAS, part of sunny OZ (trust me they said)
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Query Resource Semaphore Max Memory

    Hi Folks,
    I'm on SQL2005 32-bit and am suffering from memory contention problem.
    I do have AWE setup for
    10485760 kb but it doesn't seem to suffice.
    Looking at dm_exec_query_resource_semaphores I see that my queries are queue'ing up to get memory allocated.
    Now, of course the correct direction here is to fix the queries that are eating all the resources but this is a very old environment with many bad queries which have just exceeded the tipping point.
    What's interesting is that despite having 10GB awe, the column max_target_memory_kb indicates only 750MB.
    Is there any way to grant more memory to the semaphore as a temporary solution?
    Related topic http://www.mssqltips.com/sqlservertip/2827/troubleshooting-sql-server-resourcesemaphore-waittype-memory-issues.
    Thanks,
    Lucas

    Hi Folks,
    I'm on SQL2005 32-bit and am suffering from memory contention problem.
    I do have AWE setup for 10485760 kb but it doesn't seem to suffice.
    Hi,
    Can you post output of
    Select @@Version
    You have 32 bit system which has biggest limitation of memory. So things get little tricky here. Have you set max server memory, if so how much ?
    What do you mean by 'AWE setup for 10' G are you referring to max server memory as AWE set memory ?
    AWE behaves differently in 32 bit. Only Data and index pages can use memory allocated by AWE. It actually helps SQL Server to access more memory than its VAS limit.
    The biggest problem creator for resource semaphore are Sort and hash joins. Memory grant is  memory used to store temporary rows for sort and hash join and query will use this memory till it finishes and resource semaphore is responsible for providing
    this memory to query. If resource semaphore is not able to provide memory it puts request in wait list till memory is free so as I see and know only way to resolve is either increase memory or tune query
    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

Maybe you are looking for

  • Special Characters in a Field name

    I am having trouble with creating a SQL statement for a field name that has special characters. I get SQL errors when I run the code below:                ResultSet rec = st.executeQuery(                     "SELECT * " +                     "FROM F5

  • Need to grab the client's machine ID

    I am working on a Web-Enabled Application and I need to grab the machine identification (Machine Name or TCPIP Address) of the client (MS NT). Does anyone know which package/class I need to use to do this? I have looked around, and cannot seem to fin

  • Adobe DNG Converter For Panasonic LX3?

    The recent Apple update still does not recognize Panasonic's LX3 camera. I believed I could still get a Raw image into Aperture by doing the following: Using Adobe DNG Converter, and looking at Aperture's requirement that the linear compression optio

  • 10.6.5 update - 27" iMac, Radeon 5750 odd graphics behaviours?

    I updated my new iMac 27" to OS 10.6.5 today and have seen some odd graphics behaviours. 1. Dock icon for Activity Monitor becomes transparent. Running AM, hidden showing CPU history 2. White rectangle at bottom of expanding folder (list view) 3. OK

  • HR master in Object Link

    Hello, When you file a document to an employee by means of archivelink, as much the content as the connection is stored in SAP tables. There is some form of which it is stored in a server? whichever size we have to store documents? On the other hand,