How to capture memory usage for web application

In OATS openscripts, how to capture memory usage for web application? Does it have the exisitng java method that we can call to get the memory data (e.g. peak bytes, private bytes) consumed by web application?

JProbe

Similar Messages

  • How to increase memory allowed for an application

    Before in OS 9 and below we can expand the quantity of memory for an application, we can't do same in OS X.
    OS X is able to set himself the amount of memory for an application. This seems to work but I think there is a limit sets by OS X.
    My question is how to increase this amount of memory ?
    I tried to increase it in terminal using "ulimit -d unlimited" but this is not working enough.
    I use to do calculation with matrix systems and iterations in Mapple software but on my iMac with 4 GB of RAM memory, when application reaches 450 MB, I get a memory error message. Activity monitor at same time says there is more than 2 GB free !
    Has somebody a solution to free this limit, even for a small time or for only an application ?
    Thanks for your help.

    The full message is :
    "Kernel connection has been lost. The kernel returned the following message :
    Execution stopped : Memory allocation failed.
    Please sea ?alloc for more detail.
    You should save this worksheet and restart Maple
    Executing commands in Mapple requires a connection to the Maple kernel.
    Firewalls have been known to cause problems with kernel connections in Maple. Please ensure that any firewall software is configured to allow Maple to create connections to the kernel. Consul the FAQ for more information."
    I checked the firewalls of OS X, they are shutdown and no restrictions seems to be set for processes.
    We are expecting for a new version of Maple with some modifications due to Snow.

  • How to Maximize Memory usage for JDK 6 on Solaris 10.

    Hi there,
    I deployed jdk 6 & Tomcat 6 running on Solaris 10 with 8GB of RAM Sun Fire x64 x4100 M2 m/c.
    Its relatively fast. However, the java could allowed me to set the Max Java OPT to only 3GB. I don't understand and there isn't any extra applications. All are prior Solaris 10.
    Java will not be able to start if I set more than -J-Xmx3072m.
    Appreciate your advise and expertise.
    regards,
    jose(airqq)

    Hello Neville:
    I seem to be coming off as negative - not my usual approach.  However.......
    I am a retired webmaster and don't have Lion but I am impressed by your tip. Well written and researched. I think we should all do our bit to educate and encourage others to open applications and use the Terminal.
    a different point of view from someone who has been posting in these forums for many years.
    Almost all of the people who seek help here are not:
    1.  Retired webmasters.
    2.  Know anything about the arcane terminal commands and, more importantly, how much damage they can cause their system by a missing space or character.  Apple has spent a lot of time to develop OS X to a point where people do not need to learn about or understand Unix-like command language.
    I salute people who are technical enough to use terminal commands.  It is, however, IMHO, a real disservice to suggest to non-tecchie people that it is ever necessary (or desirable) to operate at that level.
    Having said all that, I respect your comment and point of view.   I would reiterate, however, that solving non-existent problems is a waste of time.  By non-existent, I mean that if there are no performance problems, it is irrelevant how much memory a program uses.  My current base-level iMac has 4 GB of memory and a Terabyte of HD space.
    Barry
    Message was edited by: Barry Hemphill

  • How to specify maximum memory usage for Java VM in Tomcat?

    Does any one know how to setup memory usage for Java VM, such as "-Xmx256m" parameter, in Tomcat?
    I'm using Tomcat 3.x in Apache web server on Sun Solaris platform. I already tried to add the following line into tomcat.properties, like:
    wrapper.bin.parameters=-Xmx512m
    However, it seems to me that this doesn't work. So, how about if my servlet will consume a large amount of memory that exceeds the default 64M memory boundary of Java VM?
    Any idea will be appreciated.
    Haohua

    With some help we found the fix. You have to set the -Xms and -Xmx at installation time when you install Tomcat 4.x as a service. Services do not read system variables. Go to the command prompt in windows, and in the directory where tomcat.exe resides, type "tomcat.exe /?". You will see jvm_options as part of the installation. Put the -Xms and -Xmx variables in the proper place during the install and it will work.
    If you can't uninstall and reinstall, you can apply this registry hack that dfortae sent to me on another thread.
    =-=-=-=-=-=
    You can change the parameters in the Windows registry. If your service name is "Apache Tomcat" The location is:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat\Parameters
    Change the JVM Option Count value to the new value with the number of parameters it will now have. In my case, I added two parameters -Xms100m and -Xmx256m and it was 3 before so I bumped it to 5.
    Then I created two more String values. I called the first one I added 'JVM Option Number 4' and the second 'JVM Option Number 5'. Then I set the value inside each. The first one I set to '-Xms100m' and the second I set to '-Xmx256m'. Then I restarted Tomcat and observed when I did big processing the memory limit was now 256 MB, so it worked. Hope this helps!
    =-=-=-=-=
    I tried this and it worked. I did not want to have to go through the whole reinstallation process, so this was best for me.
    Thanks to all who helped on this.

  • How to find out CPU and memory usage for an instance?

    Hi DBA Gurus,
    How to find out CPU usage and memory usage for an instance?
    Any information is appreciated!
    Thank you!
    Robert

    you can calculate cpu usage by adding fallowing three factors which you can get from v$sysstat
    1. Parse CPU time : This represents the percentage of CPU time spent parsing SQL statements. Parse time CPU can be a strong indication that an application has not been well tuned. High parse time CPU usually indicates that the application may be spending too much time opening and closing cursors or is not using bind variables.
    2. Recursive CPU time : Sometimes, to execute a SQL statement issued by a user, the Oracle Server must issue additional statements. Such statements are called recursive calls or recursive SQL statements. For example, if you insert a row into a table that does not have enough space to hold that row, the Oracle Server makes recursive calls to allocate the space dynamically if dictionary managed tablespaces are being used.
    Recursive calls are also generated due to the inavailability of dictionary info in the dictionary cache, firing of database triggers, execution of DDL, execution of SQL within PL/SQL blocks, functions or stored procedures and enforcement of referential integrity constraints
    3. Other CPU time : This represents the percentage of time spent looking for buffers, fetching rows or index keys, etc. Generally, \"Other\" CPU should represent the highest percentage of CPU time out of the total CPU time used.
    total memory used you can calculate adding
    total_agrigate_area+sga
    memory usage on os level you can know by fallowing commands
    vmstat 5 20 depending upon os

  • How sharepoint understand when user requests for web applications by their DNS names

    HI
    I configured Alternate access mapping in my sharepoint farm for default ,intranet zones
    and spt farm has two web front end servers and they load balancing by F5 device
    in WFE servers there are different web applications are running on different ports
    so here I want to know how load balancing works, load balancing configured in F5 device.
    when users request a webapplication from browser (ex http://cms) where this request will go
    1)when I ping cms and other web applicaations  it returns me a loadbalancer  server IP  for all web applications;
    ping cms : it returns 10.xxx.0.80 , same ip returns when I ping for other web app
    but ex CMS web application run on the 10.xxx.1.26:81 port in sharepoint server
    2) and these sharepoint web applications running on different ports in sharepoint  web servers , so here  how sharepoint understand when user requests for web applications by their DNS names
    http://cms and http://products  etc
    adil

    I'm not sure if the F5 can add a port number (I'm not an expert on load balancers).  But in general if you design the SharePoint site to run on port 81 then you need to have port 81 appended to the request or it won't work.  http://cms in your
    example would take you to http://cms:80 not http://cms:81.  But in general DNS will resolve the address back to the F5 load balancer.  The load balancer will look at the header of the HTTP request (which contains the original address you requested)
    and forward the request to the appropriate web front end IP address.  If your web front end is using one IP address for multiple sites then those sites need to be differntiated by using a custom port like 81 (which must be included in the original request)
    or because a host header was bound to the web application when it was created.  If they are running on different port numbers then the request must include the port number by the time it gets to the SharePoint server.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to grant anonymous access on sharepoint document library/list only not for web application

    Hello
    How to grant anonymous access on sharepoint document library/list only not for web application.I have claim based sharepoint site and has to be but i want to grant access on document library/list only.Is this possible?
    Thanks
    Rajesh Kumar "Changing the Face" can change nothing.But "Facing the Change" can change everything.

    As i am using following code
    SPSite site = SPContext.Current.Site;
                SPWeb web = SPContext.Current.Web;
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    using (SPSite ospSite = new SPSite(site.ID))
                        using (SPWeb webs = ospSite.OpenWeb(web.ID))
                            // Enable anonymous access on web application
                            webs.AllowUnsafeUpdates = true;
                            SPUrlZone urlZone = SPUrlZone.Default;
                            SPWebApplication specifiedWebApplication = ospSite.WebApplication;
                            SPIisSettings iisSettings = specifiedWebApplication.IisSettings[urlZone];
                            //iisSettings.AuthenticationMode = AuthenticationMode.Windows;
                            iisSettings.AllowAnonymous = true;                       
                            specifiedWebApplication.Update();
                            // Get document library collection here and fetch all the document urls
                            SPDocumentLibrary docLib = (SPDocumentLibrary)web.Lists["Documents"];
                            if (docLib != null)
                                docLib.BreakRoleInheritance(true, false);
                                docLib.AllowEveryoneViewItems = true;
                                docLib.AnonymousPermMask64 = SPBasePermissions.ViewPages | SPBasePermissions.OpenItems | SPBasePermissions.ViewVersions
                                    | SPBasePermissions.Open | SPBasePermissions.UseClientIntegration | SPBasePermissions.ViewFormPages | SPBasePermissions.ViewListItems;
                                //docLib.AnonymousPermMask64 = SPBasePermissions.EmptyMask;
                                docLib.Update();
    Should working but getting access denied......i am totally stuck at this point.
    Rajesh Kumar "Changing the Face" can change nothing.But "Facing the Change" can change everything.

  • How to minimize memory usage with VM settings

    Using JDK 1.4.2, I am trying to minimize the memory usage of my application.
    Our GUI application consumes about ~20MB of heap space during normal operation, but it can easily grow to 50MB in some rare cases (Special feature accessed by user).
    We have to be able to run multiple instances (separate process/VMs) of this application on low end Windows PCs.
    The applications don't usually run for very long (less than 8 hours).
    Here is my problem.
    If I set the -Xms=20M -Xmx=64M, it works fine, but the GC is not very aggressive and soon, the application starts using a lot of memory, even if it is not really needed. And it never returns the memory to Windows OS.
    So each VM take more memory than really needed, which causes significant swapping on these low end PC (little RAM available).
    If I reduce the -Xmx flag, than I run out of memory in the rare cases where I need the full memory.
    Ideally, I would like to configure the GC to be more aggressive, i.e. the GC should collect instead of getting additional memory from the OS when possible.
    I read a few papers on Sun's web site about HotSpot tunning, but most of them are geared for large servers.
    Thanks!
    Francois

    And you are using the task manager to determine how "much" memory is being used correct?
    I suggest that you search out and read the numerous threads on this site that discuss that subject.

  • How to provide streaming in J2EE web application?

    Hi Friends,
    I want to build web application which will provide streaming of data.
    This data may be in raw data, binary, files, audio, video etc. As we are using HTTP protocol for web application, then how to do streaming between server and client using HTTP protocol i.e in request response manner.
    If we want to send response of ~1 GB to client using servlet, then it's good idea that we should use data streaming concept. For data streaming if we use request/response architecture then servlet should send ~1 GB data in one go. Is it possible? And if we use data streaming tech. Is it our responsibility to do framing, maintaining data sequence, encoding/decoding, merge data and then store on client side?
    Any help will be appreciated.
    Thanks

    One idea is RTP
    http://java.sun.com/products/java-media/jmf/2.1.1/solutions/

  • CPU/memory usage of AIR application under Mac 10.4.10

    As my AIR application uses a lot of CPU/memory under Mac
    (seems better in Windows), I decide to do some basic testing. I
    create several applications with different level of complexities.
    Below is a table of CPU/memory usage when the application is simply
    sitting there. A brief description of the application can be found
    in the end of each line.
    Here are some results:
    [1] Even for an empty application, CPU usage is not zero
    (most non-AIR application has 0 CPU usage when doing nothing). Also
    the memory usage is huge, comparable to Finder on my computer.
    [2] Empty application has 7 threads running.
    [3] Indetermined progress bar costs a lot of CPU; and I guess
    any other animation costs a lot of CPU too. But if they are
    invisible they are fine.
    [4] running timer costs CPU.
    PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE
    VSIZE application
    10093 adl 1.8% 0:01.85 7 100 292 15.0M 13.8M+ 22.8M 444M
    empty
    10094 adl 1.9% 0:01.55 7 100 299 15.2M 14.0M+ 23.1M 444M
    label
    10097 adl 1.9% 0:01.48 7 100 302 15.3M 13.4M 23.7M 445M
    progress bar
    10095 adl 5.7% 0:02.40 7 100 302 15.4M- 13.2M 23.5M 445M
    progress bar (indetermined)
    10125 adl 15.9% 0:03.66 7 100 304 15.7M- 13.4M 23.9M 445M 5
    progress bar (indetermined)
    10126 adl 29.7% 0:10.39 7 100 325 16.7M+ 13.4M+ 24.9M+ 445M
    10 progress bar (indetermined)
    10128 adl 1.9% 0:01.34 7 100 324 16.1M 13.7M 24.3M 445M 10
    progress bar (indetermined), visible=false
    10136 adl 1.8% 0:00.76 7 100 323 16.5M+ 13.9M+ 24.7M- 450M
    Empty datagrid
    10147 adl 1.9% 0:01.60 7 101 328 16.1M 13.8M+ 24.5M- 447M
    TabNavigator with two empty VBox children
    10138 adl 1.8% 0:01.59 7 100 372 19.4M 13.9M 27.7M 453M
    datagrid with 10000 simple rows
    10131 adl 3.1% 0:02.38 7 110 348 25.7M 19.3M 34.8M 458M 10
    Empty native windows
    10143 adl 1.9% 0:00.99 7 100 296 15.1M 13.9M+ 23.2M- 444M
    Timer, delay = 100ms, calling an empty function
    10145 adl 4.1% 0:02.35 7 100 298 15.0M 14.0M+ 23.2M- 444M
    Timer, delay = 100ms, calling function update label position
    As to my own application, it's much bigger than these simple
    ones. The CPU usually stablizes to 20% and VSIZE is about 1G. There
    is no timer running. When I leave the application open for a few
    hours, the application will eventually freeze and I have to kill
    it.
    I am wondering if there are any articles or documents
    explaining AIR's CPU/memory usage. And also if AIR is planning to
    improve the performance in the next release.

    James, thank you for the very fast answer! I did various tests on the weekend on my computer and computer of my friend.
    And I can say, that Debug flag doesn't affect memory consumption.   They still eat memory. My steps to reproduce are as follows:
    (Windows 7 32 bit)
    Photoshop CS5:
    1) set HKEY_CURRENT_USER\Software\Adobe\CSXS2Preferences\PlayerDebugMode to 0
    2*) check HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\CSXS2Preferences (just in case)
    3) Compile HelloPhotoshop example to ZXP and install via  Extension manager
    4) restart computer
    5) Run Photoshop CS5 - Memory consumption: 100 096 KB
    6) Open HelloPhotoshop and close it 10 times
    7) Memory consumption: 155 840 - 5,574 MB per one close/open
    Maybe a garbage collector is expected to run and free this memory, but it never happened in my case. The memory pool was increasing to 1 GB when I was working with one of my panels - with no documents open in Photoshop
    In InDesign I tried the same thing with HelloInDesign ( I had to close the panel completely and then open with Window | Extensions | HelloInDesign)
    Memory consumption on start: 118 516
    Memory consumption after 10 open/close cycles: 197 516
    It's 7,9 MB per one close/open
    It's the simpliest panel test. When I'm using AIR libraries the memory usage is increasing a lot faster.

  • Send an email to all user in Oracle Test Manager for Web Applications

    I have administrator access to Oracle Test Manager for Web Applications. How can I send email to all user in the system (Oracle Test Manager for Web Applications)?
    Thanks
    Katherine
    Edited by: Katherine on 20/12/2010 16:38
    Edited by: Katherine on 20/12/2010 16:39

    Hi ,
    You can create a single dynamic distribution group with the condition to have only the mailboxes in exchange as its members . Then when a person send an email to that  Dynamic distribution group it will get distributed to all the mailboxes
    in exchange.
    Note : Most important feature in the dynamic group is that the membership of that group will be maintained automatically and also along with that we can have group membership by defining the recipient types/OU /rules.
    I agree with ED and also based on my knowledge you cannot achieve your scenario without Distribution groups or dynamic distribution groups.
    Thanks & Regards S.Nithyanandham

  • How to build ear files for ADF application using Ant task

    How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
    Any help is highly appreciated.
    Thanks
    Shiva

    Hi Timo
    Thanks for your reply.
    I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
    error :
    weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
    Please advise how to handle this.
    As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
    Appreciate your help.
    Thanks
    Shiva

  • How to change Apple ID for all applications in iPad2?

    I have changed Apple ID via Settings > Store > Apple ID > Sign out my old Apple ID > Sign in with my new Apple ID.... But, by this method, Apple ID in  iCloud, Facetime, and iMessage isn't changed follow to my new one! Do I misunderstand about changing ID? and How to change Apple ID for these applications?
    PS. I do not want to do hard reset my iPad2
    Thank you all for your kindly help ^^

    Go into Settings > iCloud > Account > Change to your new Apple ID
    Settings > Messages >  Recieve At > New Apple ID
    Settings > Facetime > Change to new Apple ID

  • How to capture the screen for sending the mail

    dear sir,
                      How to capture the screen for sending the mail .. Is there any funtion module or anyother way ? .. How to do this .. Please tell me..
    Regards,
    Kumar

    dear sir,
    s thats my problem ?
    Regards,
    kumar

  • Different results on consecutive runs of OFT for Web Applications

    I am using Oracle Functional Testing for Web Applications to test share point site [using: OS = WinXP SP3, default browser = IE8.0.6]
    I’ve recorded simple scenario - browsing through two pages (home page > menu link > page 1)
    there is no user input involved – just browsing)
    problem:
    I am running the same test multiple times and I get different results – sometimes (less often) I get clear ‘Passed’ results but more often I get warnings about missing items, Severe content differences)
    upon comparing Master and Tested HTML I see that test fails because no content is being logged under Tested:HTML node (the content displays properly in right browser pane)
    any hints?

    You probably need a close no save step at the end of your action.
    In the save for web dialog, when you record the action, save to the folder you
    want the batch dialog to put the images. Then set the batch dialog as below.
    MTSTUNER

Maybe you are looking for