RE: memory utilization : more info
Jeanne,
Here is some stuff from experience and also (very importantly) the Advanced Application Dev course :
1. Sometimes with large objects particularly arrays within arrays, BLOBS and large windows the garbage collector can get inself into a knot. If it doesnt garbage collect in the right order i.e. from the root of an object graph it thinks that all objects are still being referenced. For this reason there are additional things to do, namely to break this object graph into the individual objects. Depending on the type of object there are method calls to do it for you :
2. Window.RecycleMemory()
3. Blob.SetAllocatedSize(0) : set size to 0
4. Array.Clear(): I think it is clear just check the dcoumentation (Framework - GenericArray). In your example if an array contains objects which in themselves contain arrays this might just be the ticket, because deleting the first object (or even nillling it out will simply lose the one reference to it. The objects in the attribute array are still being referenced!
5. The trace flags : trc:os:4:4 and trc:os:5:5 (check sysman guide for correct syntax) are extremely useful in situations of this nature. You can switch them on dynamically when a suspected leak is occurring and one of them shows you all the objects NOT garbage collected (the other shows the objects collected) at each garbage collection.
6. Having said all this, I must agree with Brigette that all problems I have seen were developer induced or in rare cases solved with the above methods.
Regards and good luck.
Anton.
Thanks Leo.
I see in one of my WLC's memory usage is 77% and Cpu is 4%. It's a Guest controller and running with code 7.0.250.0.
Similar Messages
-
When I open about this mac -> more info and I switch through the tabs (display,memory,storage,support,service) it lags (fps drops, animation looks choppy not smooth) even though all the mac (programs , interface ) works smooth . Why does this happen? (over 300 gb free,same programs installed,free desktop-downloads -no garbage there- everything neat and tidy.) Need some help. Only there it the animations goes like 2 fps and is not smooth. I do not understand why because the programs are the same so its the usage. Nothing is changed, yet i experience this little issue for a couple of days.
OK, I'm confused. When I do About this Mac > More Info in OS10.9, I don't see any animation other than the window resizing. Is that the animation you are describing?
Which if any of the following apply to your computer:
1) Are you running any anti-virus/internet security applications?
2) Are you running any "cleaning/tune-up/optimizations" applications?
3) Any peer-to-peer or torrent downloading software?
4) Any third-party disk backup software that came bundled with an external hard drive?
5) Any online backup scheme other than iCloud (Carbonite; GoogleDrive; MS One Drive)?
6) Did your financial institution ask you to install Trusteer EndPoint Protection (also known as Trusteer Rapport)? -
Is it wrong or why Firefox uses it as an extremely large amount of memory?
I'm running Firefox 7.0.1 on Windows 7 and it is more or less constant over 1.5 GB of memory utilization, twice as much as they early version 6.
Best regards
Jonas WaltherHi musicfan,<br />Sorry you are having problems with Firefox. Maybe you should have asked earlier and we could have fixed it.
Reading your comments I do not see that rolling back to an insecure Firefox 22 will actually help you much. You are probably best using IE, unless you have also damaged that.
*[[Export bookmarks to Internet Explorer]]
You should not use old versions they are insecure. Security fixes are publicised and exploitable.
* [[Install an older version of Firefox]]
* https://www.mozilla.org/security/known-vulnerabilities/firefox.html
Most others will not be having such problems. We are now able to say that with confidence because after developers missed a regression in Firefox 4 telemetry was introduced so that data was obtained. It may be an idea to turn on your telemetry, if you have not already done so, and decide to stick with Firefox.
*[[Send performance data to Mozilla to help improve Firefox]]
Trying safe mode takes seconds. Unfortunatly if you are not willing to do even rudimentary troubleshooting there is not anything we can do to help you.
*[[Troubleshoot Firefox issues using Safe Mode]] -
How to measure JSP Memory Utilization
I'm trying to build a tool that will tell me how much resources a JSP is consuming. Am using 1.4.2_14. I'm using a static heap size (1GB) and -Xgc:singlepar. I've created a filter that does a Runtime.totalMemory () - Runtime.freeMemory () before and after a chain to the JSP. To test this I built a simple JSP that I call from a shell script with curl:
<%
int alloc = 131065;
if (null != request.getParameter("alloc"))
alloc = Integer.parseInt(request.getParameter("alloc"));
Object[] o = new Object[alloc];
for (int i = 0; i < o.length; i++)
o[i] = new Object ();
if (null != request.getParameter("clean"))
for (int i = 0; i < o.length; i++)
o[i] = null;
o = null;
out.println("Done with " + o.length);
%>
When running this JSP repeatedly starting with a allocation of 131,064 objects I get a heap growth of 0 until I increment to 131,067. Then I seem to get good information but every so often I'll see a 18MB bump in memory. The size I get for heap growth at 131,067 is 512,288 bytes.
Why can't I see any memory utilization below 512KB?
What is this 18MB bump in memory?
Is there a way for me to get a more accurate measurment?
Thanks,
HariIt's possible that the totalMemory() and freeMemory() calls are not 100% exact all the time; I don't remember exactly how that info is gathered.
There is a way to get very exact memory consumption with JR. Mail me for details.
-- Henrik -
How to find CPU and Memory Utilization
Hi,
How to find CPU and Memory Utilization of my application which is
running in solaris workstation.My application has a management console in which we need to update the cpu and memory periodically.
(Notr : Usage of JNI is restrcited)
Thnx and Rgds,
MohanThere is no CPU usage API in Java. You need some JNI code. For memory usage see the Runtime methods:
* Get information of memory usage: max, total, free and (available/used).
* <ul>
* <li>Max is the maximum amount of bytes the application can allocate (see also java options -Xmx). This value is fixed.
* If the application tries to allocate more memory than Max, an OutOfMemoryError is thrown.
* <li>Total is the amount of bytes currently allocated from the JVM for the application.
* This value just increases (and doesn't decrease) up to the value of Max depending on the applications memory
* requirements.
* <li>Free is the amount of memory that once was occupied by the application but is given back to the JVM. This value
* varies between 0 and Total.
* <li>The used amount of memory is the memory currently allocated by the application. This value is always less or equal
* to Total.
* <li>The available amount of memory is the maximum number of bytes that can be allocated by the application (Max - used).
* </ul>
* In brief: used <= total <= max
* <p>
* The JVM can allocate up to 64MB (be default) system memory for the application. If more is required, the JVM has to be started with the Xmx option
* (e.g. "java -Xmx128m" for 128 MB). The amount of currently allocated system memory is Total. As the JVM can't give back unallocated memory
* to the operating system, Total can just increase (up to Max).
* @return Memory info.
static public String getMemoryInfo() {
StringBuilder sb = new StringBuilder();
sb.append("Used: ");
sb.append(toMemoryFormat(getUsedMemory()));
sb.append(", Available: ");
sb.append(toMemoryFormat(getAvailableMemory()));
sb.append(" (Max: ");
sb.append(toMemoryFormat(Runtime.getRuntime().maxMemory()));
sb.append(", Total: ");
sb.append(toMemoryFormat(Runtime.getRuntime().totalMemory()));
sb.append(", Free: ");
sb.append(toMemoryFormat(Runtime.getRuntime().freeMemory()));
sb.append(")");
return sb.toString();
}//getMemoryInfo() -
Follow up on an old thread about memory utilization
This thread was active a few months ago, unfortunately its taken me until now
for me to have enough spare time to craft a response.
From: SMTP%"[email protected]" 3-SEP-1996 16:52:00.72
To: [email protected]
CC:
Subj: Re: memory utilization
As a general rule, I would agree that memory utilzation problems tend to be
developer-induced. I believe that is generally true for most development
environments. However, this developer was having a little trouble finding
out how NOT to induce them. After scouring the documentation for any
references to object destructors, or clearing memory, or garbage collection,
or freeing objects, or anything else we could think of, all we found was how
to clear the rows from an Array object. We did find some reference to
setting the object to NIL, but no indication that this was necessary for the
memory to be freed.
I believe the documentation, and probably some Tech-Notes, address the issue of
freeing memory.
Automatic memory management frees a memory object when no references to the
memory
object exist. Since references are the reason that a memory object lives,
removing
the references is the only way that memory objects can be freed. This is why the
manuals and Tech-Notes talk about setting references to NIL (I.E. freeing memory
in an automatic system is done by NILing references and not by calling freeing
routines.) This is not an absolute requirement (as you have probably noticed
that
most things are freed even without setting references to NIL) but it accelerates
the freeing of 'dead' objects and reduces the memory utilization because it
tends
to carry around less 'dead' objects.
It is my understanding that in this environment, the development tool
(Forte') claims to handle memory utilization and garbage collection for you.
If that is the case, then it is my opinion that it shoud be nearly
impossible for the developer to create memory-leakage problems without going
outside the tool and allocating the memory directly. If that is not the
case, then we should have destructor methods available to us so that we can
handle them correctly. I know when I am finished with an object, and I
would have no problem calling a "destroy" or "cleanup" method. In fact, I
would prefer that to just wondering if Forte' will take care of it for me.
It is actually quite easy to create memory leaks. Here are some examples:
Have a heap attribute in a service object. Keep inserting things into
the heap and never take them out (I.E. forgot to take them out). Since
service objects are always live, everything in the heap is also live.
Have an exception handler that catches exceptions and doesn't do
anything
with the error manager stack (I.E. it doesn't call task.ErrMgr.Clear).
If the handler is activated repeatedly in the same task, the stack of
exceptions will grow until you run out of memory or the task terminates
(task termination empties the error manager stack.)
It seems to me that this is a weakness in the tool that should be addressed.
Does anyone else have any opinions on this subject?
Actually, the implementation of the advanced features supported by the Forte
product
results in some complications in areas that can be hard to explain. Memory
management
happens to be one of the areas most effected. A precise explanation to a
non-deterministic process is not possible, but the following attempts to
explain the
source of the non-determinism.
o The ability to call from compiled C++ to interpreted TOOL and back
to compiled C++.
This single ability causes most of the strange effects mentioned in
this thread.
For C++ code the location of all variables local to a method is not
know
(I.E. C++ compilers can't tell you at run-time what is a variable
and what
isn't.) We use the pessimistic assumption that anything that looks
like a
reference to a memory object is a reference to a memory object. For
interpreted
TOOL code the interpreter has exact knowledge of what is a reference
and what
isn't. But the TOOL interpreter is itself a C++ method. This means
that any
any memory objects referenced by the interpreter during the
execution of TOOL
code could be stored in local variables in the interpreter. The TOOL
interpreter
runs until the TOOL code returns or the TOOL code calls into C++.
This means
that many levels of nested TOOL code can be the source of values
assigned to
local variables in the TOOL interpreter.
This is the complicated reason that answers the question: Why doesn't a
variable that is created and only used in a TOOL method that has
returned
get freed? It is likely that the variable is referenced by local
variables
in the TOOL interpreter method. This is also why setting the
variable to NIL
before returning doesn't seem to help. If the variable in question is a
Array than invoke Clear() on the Array seems to help, because even
though the
Array is still live the objects referenced by the Array have less
references.
The other common occurrence of this effect is in a TextData that
contains a
large string. In this case, invoking SetAllocatedSize(0) can be used
to NIL
the reference to the memory object that actually holds the sequence of
characters. Compositions of Arrays and TextData's (I.E. a Array of
TextData's
that all have large TextDatas.) can lead to even more problems.
When the TOOL code is turned into a compiled partition this effect
is not
noticed because the TOOL interpreter doesn't come into play and
things execute
the way most people expect. This is one area that we try to improve
upon, but it is complicated by the 15 different platforms, and thus
C++ compilers,
that we support. Changes that work on some machines behave
differently on other
machines. At this point in time, it occasionally still requires that
a TOOL
programmer actively address problems. Obviously we try to reduce
this need over
time.
o Automatic memory management for C++ with support for multi-processor
threads.
Supporting automatic memory management for C++ is something that is
not a very
common feature. It requires a coding standard that defines what is
acceptable and
what isn't. Additionally, supporting multi-processor threads adds
its own set of
complications. Luckily TOOL users are insulated from this because
the TOOL to C++
code generator knows the coding standard. In the end you are
impacted by the C++
compiler and possibly the differences that occur between different
compilers and/or
different processors (I.E. Intel X86 versus Alpha.) We have seen
applications that
had memory utilization differences of up to 2:1.
There are two primary sources of differences.
The first source is how compilers deal with dead assignments. The
typical TOOL
fragment that is being memory manager friendly might perform the
following:
temp : SomeObject = new;
... // Use someObject
temp = NIL;
return;
When this is translated to C++ it looks very similar in that temp
will be assigned the
value NULL. Most compilers are smart enough to notice that 'temp' is
never used again
because the method is going to return immediately. So they skip
setting 'temp' to NULL.
In this case it should be harmless that the statement was ignored
(see next example for a different variation.) In more
complicated examples that involve loops (especially long
lived event loops) a missed NIL assignment can lead to leaking the
memory object whose
reference didn't get set to NIL (incidentally this is the type of
problem that causes
the TOOL interpreter to leak references.)
The second source is a complicated interaction caused by history of
method invocations.
Consider the following:
Method A() invokes method B() which invokes method C().
Method C() allocates a temporary TextData, invokes
SetAllocatedSize(1000000)
does some more work and then returns.
Method B() returns.
Method A() now invokes method D().
Method D() allocates something that cause the memory manager to look
for memory objects to free.
Now, even though we have returned out of method C() we have starting
invoking
methods. This causes us to use re-use portions of the C++ stack used to
maintain the history of method invocation and space for local variables.
There is some probability that the reference to the 'temporary' TextData
will now be visible to the memory manager because it was not overwritten
by the invocation of D() or anything invoked by method D().
This example answers questions of the form: Why does setting a local
variable to
NIL and returning and then invoking task.Part.Os.RecoverMemory not
cause the
object referenced by the local variable to be freed?
In most cases these effects cause memory utilization to be slightly
higher
than expected (in well behaved cases it's less than 5%.) This is a small
price to pay for the advantages of automatic memory management.
An object-oriented programming style supported by automatic memory
management makes it
easy to extended existing objects or sets of objects by composition.
For example:
Method A() calls method B() to get the next record from the
database. Method B()
is used because we always get records, objects, of a certain
type from
method B() so that we can reuse code.
Method A() enters each row into a hash table so that it can
implement a cache
of the last N records seen.
Method A() returns the record to its caller.
With manual memory management there would have to be some interface
that allows
Method A() and/or the caller of A() to free the record. This
requires
that the programmer have a lot more knowledge about the
various projects
and classes that make up the application. If freeing doesn'
happen you
have a memory leak, if you free something while its still
being used the
results are unpredictable and most often fatal.
With automatic memory management, method A() can 'free' its
reference by removing
the reference from the hash table. The caller can 'free' its
reference by
either setting the reference to NIL or getting another
record and referring
to the new record instead of the old record.
Unfortunately, this convenience and power doesn't come for free. Consider
the following,
which comes from the Forte' run-time system:
A Window-class object is a very complex beast. It is composed of two
primary parts:
the UserWindow object which contains the variables declared by the
user, and the
Window object which contains the object representation of the window
created in
the window workshop. The UserWindow and the Window reference each
other. The Window
references the Menu and each Widget placed on the Window directly. A
compound Window
object, like a Panel, can also have objects place in itself. These
are typically
called the children. Each of the children also has to know the
identity of it's
Mom so they refer to there parent object. It should be reasonably
obvious that
starting from any object that make up the window any other object
can be found.
This means that if the memory manager finds a reference to any
object in the Window
it can also find all other objects in the window. Now if a reference
to any object
in the Window can be found on the program stack, all objects in the
window can
also be found. Since there are so many objects and the work involved
in displaying
a window can be very complicated (I.E. the automatic geometry
management that
layouts the window when it is first opened or resized.) there are
potentially many
different reference that would cause the same problem. This leads to
a higher than
normal probability that a reference exists that can cause the whole
set of Window
objects to not be freed.
We solved this problem in the following fashion:
Added a new Method called RecycleMemory() on UserWindow.
Documented that when a window is not going to be used again
that it is
preferably that RecycleMemory() is invoked instead
of Close().
The RecycleMemory() method basically sets all references
from parent to
child to NIL and sets all references from child to
parent to NIL.
Thus all objects are isolated from other objects
that make up
the window.
Changed a few methods on UserWindow, like Open(), to check
if the caller
is trying to open a recycled window and throw an
exception.
This was feasible because the code to traverse the parent/child
relationship
ready existed and was being used at close time to perform other
bookkeeping
operations on each of the Widgets.
To summarize:
Automatic memory management is less error prone and more productive but
doesn't come totally for free.
There are things that the programmer can do that assists the memory
manager:
o Set object reference to NIL when known to be correct (this
is the
way the memory is deallocated in an automatic system.)
o Use methods like Clear() on Array and SetAllocatedSize()
on TextData to
that allow these objects to set their internal
references to NIL
when known to be correct.
o Use the RecycleMemory() method on windows, especially very
complicated
windows.
o Build similar type of methods into your own objects when
needed.
o If you build highly connected structures that are very
large in the
number of object involved think that how it might be
broken
apart gracefully (it defeats some of the purpose of
automatic
management to go to great lengths to deal with the
problem.)
o Since program stacks are the source of the 'noise'
references, try
and do things with less tasks (this was one of the
reasons that
we implemented event handlers so that a single task
can control
many different windows.)
Even after doing all this its easy to still have a problem.
Internally we have
access to special tools that can help point at the problem so that
it can be
solved. We are attempting to give users UNSUPPORTED access to these
tools for
Release 3. This should allow users to more easily diagnose problems.
It also
tends to enlighten one about how things are structured and/or point out
inconsistencies that are the source of known/unknown bugs.
Derek
Derek Frankforth [email protected]
Forte Software Inc. [email protected]
1800 Harrison St. +510.869.3407
Oakland CA, 94612I beleive he means to reformat it like a floppy disk.
Go into My Computer, Locate the drive letter associated with your iPod(normally says iPod in it, and shows under removable storage).
Right click on it and choose format - make sure to not have the "quick format" option checked. Then let it format.
If that doesnt work, There are steps somewhere in the 5th gen forum( dont have the link off hand) to try to use the usbstor.sys to update the USB drivers for the Nano/5th gen. -
Thanks to all who responded to my question about memory utilization. There
were some good suggestions that I will follow up on. I am very grateful for
the help.
As a general rule, I would agree that memory utilzation problems tend to be
developer-induced. I believe that is generally true for most development
environments. However, this developer was having a little trouble finding
out how NOT to induce them. After scouring the documentation for any
references to object destructors, or clearing memory, or garbage collection,
or freeing objects, or anything else we could think of, all we found was how
to clear the rows from an Array object. We did find some reference to
setting the object to NIL, but no indication that this was necessary for the
memory to be freed.
It is my understanding that in this environment, the development tool
(Forte') claims to handle memory utilization and garbage collection for you.
If that is the case, then it is my opinion that it shoud be nearly
impossible for the developer to create memory-leakage problems without going
outside the tool and allocating the memory directly. If that is not the
case, then we should have destructor methods available to us so that we can
handle them correctly. I know when I am finished with an object, and I
would have no problem calling a "destroy" or "cleanup" method. In fact, I
would prefer that to just wondering if Forte' will take care of it for me.
It seems to me that this is a weakness in the tool that should be addressed.
Does anyone else have any opinions on this subject?Index rebuild = Drop and recreate, this complete recreated index will be in the memory till completion of the full operation.
The lazy writer process periodically checks the available free space in the buffer cache between two checkpoints. If a dirty data page (a page read and/or modified) in the buffer hasn’t been used for a while, the lazy writer flushes it to disk and then marks
as free in the buffer cache
If SQL Server needs more memory and the buffer cache size is below the value set as the Maximum server memory parameter for the SQL Server instance, the lazy writer will take more memory
If SQL Server is under memory pressure, the lazy writer will be busy trying to free enough internal memory pages and will be flushing the pages extensively. The intensive lazy writer activity affects other resources by causing additional physical disk I/O activity
and using more CPU resources
To provide enough free space in the buffer, pages are moved from the buffer to disk. These pages are usually moved at a check point, which can be:
automatic (occurs automatically to meet the recovery interval request)
indirect (occurs automatically to meet the database target recovery time)
manual (occurs when the CHECKPOINT command is executed)
internal (occurs along with some server-level operations, such as backup creation)
At a checkpoint, all dirty pages are flushed to disk and the page in the buffer cache is marked for overwriting
“For performance reasons, the Database Engine performs modifications to database pages in memory—in the buffer cache—and does not write these pages to disk after every change. Rather, the Database Engine periodically issues a checkpoint on each database. A
checkpoint writes the current in-memory modified pages (known as dirty pages) and transaction log information from memory to disk and, also, records information about the transaction log.”
Raju Rasagounder Sr MSSQL DBA -
Every time I right-click an image in Firefox 3.6.12 to view image size info it says "Unknown (not cached)". Any ideas on why this could be happening and how I can stop it? My OS is Ubuntu 10.10. If you need any more info let me know.
Is the disk cache and the memory cache enabled?
You can check these prefs on the about:config page.
* http://kb.mozillazine.org/browser.cache.disk.enable
* http://kb.mozillazine.org/browser.cache.memory.enable
To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
If you see a warning then you can confirm that you want to access that page.<br />
Your More system details list shows two outdated Flash plugins that you should remove and update to Flash 10.1 r102 or at least remove 10.0 r45 and wait until your distribution offers a 10.1 r102 update.
# Shockwave Flash 10.0 r45
# Shockwave Flash 10.1 r85
Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/ -
CiscoWorks LMS 4.0.1 High Memory Utilization on Windows 2K8 R2
Hi,
What causes LMS 4.1 to have high memory utilization?I made a little batch
https://supportforums.cisco.com/docs/DOC-21031
It show what process in LMS is eating you RAM / Hogging the CPU.
I don't think resources are used very effectivly in LMS
I did have the impression that some virtual machines running LMS 3.2 actually performed better than real machines, as if the VMware saw it load all these java virtual machines and that it was 45 times the same thing only being used for a few % and therefore could be swapped to disk, leaving the resources to what was actually working in LMS.
What worries me more than the resources used is the gui per.formance.
Cheers,
Michel -
ASA High Memory utilization and random lockouts
We have 2 ASA 5520's running Active/Standby with the cable based failover. At random times perhaps once our twice a week we will get calls that RA VPN users cannot connect, RA users connect with the Cisco VPN client. Also most often during this time we cannot telnet into the "primary" ASA, but we can "usually" access it via the ASDM where we will see that the memory utilization is in the upper 90% range and perhaps as high as 98% consistently. To help temporarily solve the issue we have to telnet to the "secondary" ASA which we can usually access via telnet and perform a "failover active" which will failover the primary and make the secondary become the active and vice versus. Has anyone seen this issue. I have opened up several TAC cases and have not had much help. Thanks in advance!
Hi Brandon,
it is important to know what version are running your ASAs [ie 7.0(4)] and to collect some log, you can set it to error level (logging buffered errors), with the logging standby, so all of the message should be replicated on the standby unit.
even the show crashinfo could give you useful info.
show crashinfo
: Saved_Crash
Thread Name: vpnfo_thread_msg (Old pc 0x00b47b80 ebp 0x01c60634)
You can check the caveats for you release from the cisco site, This link is for the 7.0(4)
http://www.cisco.com/en/US/docs/security/pix/pix70/release/notes/pix704rn.html#wp32426
It could be a known bug solved in newer image.
Here you can find useful info to perfom a zer o downtime upgrade.
http://www.cisco.com/en/US/docs/security/asa/asa72/configuration/guide/mswlicfg.html
Regards,
Marco. -
Generating Memory Utilization Report in HUM
Hello All,
I was trying to generate reports for devices in my network. I noticed that for most devices, the memory utilisation (no value for memory utilisation instances) was not polled though it's part of the variables in my poller configuration.
Kindly help me out on this. See the attached for more information.
Thank you in advance.Hi,
I'll appreciate if anyone can assist with generating memory utilization report for devices in CHUM.
Thanks -
Sawserver memory utilization in OBIEE 10g
We recently merged two of our OBI production environments into a single production environment and as expected we could see significant increase in the memory utilization of the sawserver.
The Virtual Bytes of Sawserver hits around 2.7GB and the working set hits around 2.55 GB. As 3GB is the maximum limit for the sawserver utilization we are worried if this could lead to a crash though we did not have a crash yet
The OBIEE version is 10.1.3.4.1 and it is running on Windows 2k3 Enterprise Edition SP2 and 16 GB RAM.
I would need to know if there is any possibility to decrease the sawserver memory utilization just to avoid any crashes.OS level it is showing the following result
# swapinfo -mat
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 52 4044 1% 0 - 1 /dev/vg00/lvol2
reserve - 4044 -4044
memory 8172 3458 4714 42%
total 12268 7554 4714 62% - 0 -
SQL> select * from v$sga_target_advice;
SGA_SIZE SGA_SIZE_FACTOR ESTD_DB_TIME ESTD_DB_TIME_FACTOR ESTD_PHYSICAL_READS
3552 1 103504 1 3296335
888 .25 111463 1.0769 4525868
1776 .5 107178 1.0355 3873853
7104 2 95907 .9266 2099436
4440 1.25 100668 .9726 2765295
5328 1.5 98401 .9507 2442914
6216 1.75 96166 .9291 2099436
2664 .75 105284 1.0172 3587072
8 rows selected.
We have currently 3550 MB sga allocated...
using the above query, we can say that if SGA size is 7104 MB, we will be getting more peformance as per my current load.
Please suggest... -
I'm on hp-ux 11.23 Itanium using dbconsole 10.2.0.4. My machine is underutilized most of the time. Periodically, I get memory utilization alerts that I'm using more than 99% of memory. The memory utilization chart shows it burbling around 97-98%, sometimes peaking downwards to 95%. swapinfo tells me I'm using 24% or thereabouts. The help for memory utilization is less than helpful as to how the metric is actually calculated. I can't help thinking it's just plain wrong. Anyone have any idea how to reconcile this? Anyone know how it is calculated?
From memory utilization screen:
Last Known Value 99.56
Average Value 98.96
High Value 99.66
Low Value 95.18
Warning Threshold 95
Critical Threshold 98
Threshold Occurrences 6
Looks like the defaults in the help screen (warning threshold 99, tested every 24 hours) are wrong.OK, I discovered the Paging Activity screen under All Metrics. There were lots of numbers, so I picked the largest one and clicked on it (Pages Scanned by Page Stealing Daemon (per second)). It showed this nice little graph, bounced around all over the place during the day and flatlined during the night, and the help page said it used pstat_getvminfo(), so I poked around on the net about that. Then when I went back to the Paging activity page, all but two of the numbers (Page-in Requests (per second) and Pages Paged-in (per second)) were zero. WTF?
-
Hyper-V VMs memory utilization
Hi,
Please let me know the WMI class (query) to check the memory utilization for all the VMs under the Hyper-V host.
Thanks & Regards,
Raamesh Keerthi N JHi ,
I would recommend you to use powershell command " Get-vm " to get the memory usage of the VM .
As for using WMI to get the VM's memory usage(I am assuming you are using server2012r2 ) , please try the command below :
$RequestInfo = 1,103,112
$VmInfo = Get-WmiObject -namespace root\virtualization\v2 -class msvm_virtualsystemmanagementservice
$VmInfo.getsummaryinformation($null,$RequestInfo).summaryinformation
For the WMI class syntax please refer to following article :
http://blogs.msdn.com/b/virtual_pc_guy/archive/2013/04/29/powershell-script-to-tell-you-if-you-need-to-update-your-integration-services.aspx
If you have further more question about WMI , please post it here :
http://social.technet.microsoft.com/Forums/en-us/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
Best Regards
Elton Ji
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. -
Finder - "Get Info" - "More Info" panel has NO information any more!
Hello all,
Can you help a slider out? My new MacBook Pro has a problem with the Finder. When I use the Finder, File, Get Info (or Command I), to get info about a file, in particular, a graphic file, I used to see stuff in the "More Info" panel. I use the image size information (e.g., 512 x254 pixels and the actual memory size) to quickly keep track of graphics for my web pages.
Well, for ALL file types now, I get NO "More Info" information in the panel. All the other panels, "General", Name & Extension", "Open with", "Preview" and "Ownership & Permissions" work fine.
I fixed disk permissions via the Install DVD and deleted the com.apple.finder.plist and neither of these have helped resurrect my "More Info" information.
I am running 10.4.10 and this is only on my machine. On the other 2 in our household, the panel works as it always has.
HELP, I miss my "More Info" info!
TIA,
Dave
[email protected]I am also encountering the same issue...in addition, I'm having trouble installing Google Sketchup Pro 6, I believe there may be some sort of correlation between the two?
Any help?
-j
Maybe you are looking for
-
Decode function in OracleXMLQuery
selectStr = "SELECT DECODE(email,null,'',email), FROM mytable WHERE user_id=\'" + search_id + "\'"; using this select statement in conjunction with OracleXMLQuery produces the following exception. oracle.xml.sql.OracleXMLSQLException: Character ')' i
-
I think I've found a bug with Project Professional for O365 Client ... or it may be 'intended' behavior that's potentially quite destructive. Sorry for the long post. Here's my scenario. I have a 'project site' set up in SPO. I use the richness of Pr
-
Problem with user access level
David, I have so far succesfully implementend your tutorial on users registering and having to validate their emailaddress (both part I and II). Part I: http://cookbooks.adobe.com/post_Registration_system_that_requires_the_user_to_vali-16646.h tml Pa
-
I am trying to complete a piece of work for College but am having trouble with the completion of a cursor. The object of this small project is to create a very basic data warehouse from an operational system. I have populated all of the dimension tab
-
I ran out of space on my icloud so my phone could no longer back up. I have now deleted lots from my phone, how can I get icloud to recognize this so it will complete a back up.