VWP app workload and used memory

I want to continue my previous post : http://forums.sun.com/thread.jspa?messageID=10635746
and additional question – my VWP app use 40 – 50Mb java heap size, how can i calculate or imagine what java heap size I need if it will be 100 or 1000 sessions or online users at one time?
Edited by: bassas on Mar 10, 2009 8:07 PM

generally speaking  premature optimization is not a good idea.
Normally those tricks we learned from stone age are picked by tools already.
(http://stackoverflow.com/questions/6215782/do-unused-functions-get-optimized-out)
So if you experice performance/optimization issue
optimization ususally goes with repeated measure -> optimize -> verify
cycles.

Similar Messages

  • Reducing app size and using memory

    Building with release preference Blank App template will give you a ~200kb .exe, which in running state use ~7mb of memory.
    It has a huge list of external dependencies.
    So, is it possible to reduce app size and using memory?
    Or, how safely unlink from app headers that really didnt used?

    generally speaking  premature optimization is not a good idea.
    Normally those tricks we learned from stone age are picked by tools already.
    (http://stackoverflow.com/questions/6215782/do-unused-functions-get-optimized-out)
    So if you experice performance/optimization issue
    optimization ususally goes with repeated measure -> optimize -> verify
    cycles.

  • How can i active my iphones with one app id and using find my iphone apps

    hi
    i want to register 2 iphones with one app id ,and using find my iphone apps in my iphones ,
    how can i do it ?
    please help me

    this will not work for "find my iPhone".  It is always a good idea to have two seperate Apple ID's anyway

  • How to check actual allocated and used memory for java process in solaris?

    Hi,
    I'm testing performance for java application on solaris 10. And I would like to know how to measure actual memory allocated and used for java process.
    I'm setting -Xms512m -Xmx512m for my java process and I use prstat command to monitor it's memory. But I found that when I run prstat to check, in SIZE column is more than I setting (found 644).
    So I'm don't know the actual memory that java process used. (In this case,is it mean the process use memory (644) more than setting (512)?)
    Thank you.

    With Xms/Xmx you specify the Java heap size. On top of that comes the permanent generation (default max size 64m) and the C part of the process (the JVM itself with all its libraries and data).
    With "ps -e -o pid,vsz,rss,args" you get the virtual and set resident size of your processes.
    Nick.

  • Hi, i purchased and downloaded the lr6 desktop app (update), and used my serial number from the email from adobe but it said it was only eligible for lr5. thanks, rich

    hi, i purchased and downloaded the lr6 desktop app (updating from lr5, paid 80. for the update), and used my serial number from the email from adobe sentbut it said it was only eligible for lr5. thanks, rich

    If you purchased an upgrade from LR5 to LR6 then after you enter your LR6 serial number, you will need to enter your LR5 serial number, unless LR6 finds LR5 on the computer.  This also assumes that you've purchased the perpetual license of both LR5 and LR6, not a cloud license for LR5 which doesn't use a serial number for licensing.  If entering a LR6 then LR5 serial number into LR6's serial-number area isn't working, then is there something special about the LR5 that would make it ineligible for an upgrade?

  • App Download and "Other" Memory Usage

    For a month or so I've noticed that my iPhone 5s "Other" memory was on the order of 6gb... Deleted texts and emails attempting to reduce that size, to no avail...
    Today I noticed that an App (Numbers) that had begun to download from the App Store (about a month ago), had not finished (WiFi was required for the large download, but had been turned off and on several times, but not long enough for the download to complete).  It wasn't obvious to be that Numbers hadn't finished downloading...
    I deleted Numbers from the iPhone, and installed it from iTunes on my iMac.
    Upon the deletion of Numbers, my "Other" memory usage went from 6gb down to 2.25 gb, which was reasonable with some large maps and Good Reader docs I have on the phone...
    The Numbers app is about 224Mb in size... So, it appears that the iPhone sets aside a very large part of memory for an app as it downloads, and then clears that memory once the app is installed...(though the amount cleared was on the order of 17x the size of the Numbers app...)
    I notice a similar usage of Time Machine storage space... Small Time Machine saves require very large amounts of HDD space to be reserved for the backup... Wonder if the same logic is applied to the iPhone... Or perhaps every time WiFi was turned on and Numbers would reattempt to download, the amount of Other memory it required from the iPhone would increase...?
    Anyone else noticed this behavior?
    Bob

    Update...
    For "grins" I just un-checked "Sync Music", and synced my iPhone... Other Data went to zero.  Re-checked "Sync Music" and synced, and only had 250Mb of Other on the iPhone.  After a full sync with 7gb music, the Other memory number is back up to 2.23gb...
    Interesting...
    Bob

  • How do you get an ipa off your iPad to backup if the app was removed from the app store and using "Transfer purchases" does not copy the ipa over to iTunes?

    Hello everyone. Can anyone shed some light on this problem? If I downloaded an app from the app store called "Print to PDF" that allows opening any application and going to print converts that to a PDF e.g. Safari pages, mail etc and I did not sync or "transfer purchases" for some time and when I look in the app store that app is no longer there so I thought if I could "transfer purchases" iTunes would then have the .ipa and I could back it up and copy it to my iPad 2 but I don't see the ipa in the "mobile applications" directory. How do I get it off my iPad and into iTunes to backup?
    Thanks for any help you can give!

    Ashka, I have tried to "transfer purchases from device" but that is what I am saying that I do not see the app in the "mobile applications" directory after I do that process. I was wondering if anyone else knew of a way to get to the ipa file that is stored on the iPad such as a program that could browse the directories of the iPad of even an app that could do it so I can get and save the actual app in ipa format.

  • How do I fix no access to app store and itunes.

    Macbook Pro came with 10.7.3.  I migrated my Macbook from 10.6.8 and it worked for a while.  Then it got where I couldn't access the app store.  Then I couldn't access the itunes store.  I spent an hour with applecare up to level 2 today with no fix.  I cleared the user caches, dumped the application support folder, repaired permissions, ran Applejack, threw out app store plist. Booted from the recovery partition, ran terminal pulled up resetpassword in terminal, and reset the permissions and other thing (A something or other) from there.  No go.  Still doesn't work.   It works ok from another user account.   I have migrated up from a Mac LC (with stuff from an Apple //e on it) through something I don't remember the name of, a blue and white, a G3 tower and now to this and a 27 inch iMac.
    A companion problem is that the search box in the upper right hand corner of Safari doesn't work. 
    My workaround is to switch users for app store and use Chrome for browsing. 
    I had the same problem on the iMac but don't know what I did that fixed it. 
    Any ideas?

    Welcome to Apple Support Communities
    What do you mean by having no access to those apps? Can you start up your Mac and work with it, and only some OS X apps do not work?
    Anyway, what you can try is to reinstall OS X. To do this, hold Command and R keys while your Mac is starting up and reinstall OS X. You will not lose any file.

  • HT4009 "Error" when buy item In-app purchase and billing still come in my e-mail. How can i get my money back?

    I would like to know how can i get money back (follow the subject).
    thank you
    (my english is poor. sorry)

    If you haven't received the item but you've been charged for it then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that in-app purchases and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    If the 'report a problem' link doesn't work (it's been taking some people to this site on a browser instead of showing a form in iTunes) then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • I have no idea whether there is a causal relationship but since moving to Lion and iCloud, my iMac has become so slow that I wind up having to crash and restart most of the time.  This is true regardless of the app I am using at the time.  The specs of th

    I have no idea whether there is a causal relationship but since moving to Lion and iCloud, my iMac has become so unresponsive that I wind up having to crash and restart most of the time.  This is true regardless of the app I am using at the time.
    The specs of this iMac are:
    iMac 27 inch, late 2009 model with a 3.0 GHz Intel Core 2 Duo with 4 Gig 1067 Mhz DDR3, using OSX Lion 10.7.4 (11E53)
    I have Mackeeper installed and according to the scans I have run, everything is fine. No virus, no junk files . . . no problems at all . . .
    Except that for all practical purposes, my computer isn't working. 
    I am nearly totally deaf and live in an isolated, rural area of NW Missouri and this computer is what I mainly rely on to contact friends, relatives and business associtates!
    Any and all suggestions will be greatly appreciated!

    First, back up all data immediately, as your boot drive may be failing.
    If you have more than ten or so files or folders on your Desktop, move them, temporarily at least, somewhere else in your home folder.
    If iCloud is enabled, disable it.
    Disconnect all wired peripherals except keyboard, mouse, and monitor, if applicable. Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Error BI Apps HR and Fin full load - ORA-04030: out of process memory......

    Hi Experts,
    I loaded HR it went well, but now I am trying to load both HR and Financial Full load. I am getting below issue for some DAC tasks:
    ORA-04030: out of process memory when trying to allocate 1049100 bytes (kxs-heap-w,kllcqgf:kllsltba)
    Environment:
    Source System:
    Win server 2008 - 2 GB RAM; EBS R12.1.1.
    Target System:
    Windows Server 2008 32 bit (with /3G, /PEA switches enabled) – 4 GB RAM; obiee 10g;biapps 7.9.6.2;dac 10.1.3.4.1;Informatica PC 8.6.1 Hotfix 11;Oracle DB 11.1.0.7.
    DAC Tasks that failed:
    TASK_GROUP_Extract_GLLinkageInformation
    SDE_ORA_GL_COGS_LinkageInformation_Extract
    SDE_ORA_GL_AP_LinkageInformation_Extract
    SDE_ORA_GL_AR_REV_LinkageInformation_Extract
    SDE_ORA_GL_PO_LinkageInformation_Extract
    All the above tasks are failing with above error.
    Below are the memory parameters for BI Apps database:
    SQL> show parameter target
    NAME TYPE VALUE
    archive_lag_target integer 0
    db_flashback_retention_target integer 1440
    fast_start_io_target integer 0
    fast_start_mttr_target integer 0
    memory_max_target big integer 820M
    memory_target big integer 820M
    pga_aggregate_target big integer 257374182
    sga_target big integer 0
    I also tested by increasing below parameters:
    memory_max_target 2G
    memory_target 2G
    pga_aggregate_target 1G
    sga_target 900M
    But it didn’t work, same errors.
    Please let me know how can I solve this issue. Thanks for your time.

    The below text is from doc id, I've picked solution part
    let me know updates
    =====Start======================
    Solution
    NON-ORACLE SOFTWARE STEPS
    1.If you have 4Gb or less of RAM, add more RAM to the 32-bit computer system (add another 4Gb or more, if possible).
    2.Enable the /3GB in the BOOT.INI, see note:
    Note 225349.1 Implementing Address Windowing Extensions (AWE) or VLM on Windows Platforms
    3.If using MS-Windows Enterprise Edition, enable Physical Address Extensions (PAE) by adding the /PAE switch to the BOOT.INI, see note Note 225349.1.
    NOTE: The Windows tool Perfmon should be used in ORA-4030 problems on Windows. Task Manager is not a reliable tool to investigate ORACLE.EXE process memory size.
    ORACLE SOFTWARE STEPS
    Steps for both Enterprise and non-Enterprise Editions of MS-Windows
    1.Check for excessive INACTIVE sessions:
    select sum(PGA_ALLOC_MEM) from v$process p, v$session s where p.addr = s.paddr and s.status = 'INACTIVE';
    If this query returns a large value (i.e. several hundred Megabytes or even greater that 1 Gigabyte), then it is recommended that you automate the cleanup of INACTIVE sessions. To see how this works, see notes;
    Note 151972.1 Dead Connection Detection (DCD) Explained
    Note 159978.1 How To Automate Disconnection of Idle Sessions
    Implement DCD & IDLE_TIME, by doing the following;
    Set SQLNET.EXPIRE_TIME = x (minutes) in the Server SQLNET.ORA file,
    Create a PROFILE with IDLE_TIME set, and assign it to users.
    If you find that the processes remain with status SNIPED, then you will need to implement removal of those processes as well, see note:
    Note 96170.1 Script for killing sniped sessions shadow processes
    For more information, see Note 601605.1 A discussion of Dead Connection Detection, Resource Limits, V$SESSION, V$PROCESS and OS processes
    2.Review Note 46001.1 and determine the pro's and con's of running ORASTACK against the ORACLE.EXE.
    If appropriate, shut down the database, and run the following command in an MS-DOS window:
    orastack oracle.exe 500000
    Re-start the database.
    Steps for Enterprise Editions of MS-Windows
    Determine if using AWE would fit your database needs. This allows the Buffer Cache component in the SGA to be relocated above the 4Gb memory footprint for the ORACLE.EXE process. Since this configuration requires a virtual memory window to map memory allocations above the 4Gb memory area, this option fits best with database requirements for a 1G and up sized Buffer Cache. It would not be efficient to have a 400M Buffer Cache above the 4Gb memory footprint and yet allocate a 1Gb virtual memory window to map to that memory.
    1.Decide on the size of the SGA, PGA requirements and AWE (default 1Gb), given 300Mb overhead for the ORACLE.EXE and the 3Gb memory limit (as per the BOOT.INI /3GB switch). Please note that the minimum AWE size depends on the number of CPU's, see note Note 225349.1.
    - Grant OracleService<SID> the 'Lock Pages in Memory' system privilege at the operating system level, see Note 225349.1.
    - If necessary, change the Address Windowing Extensions (AWE) size from the default 1Gb, see Note 225349.1.
    - Adjust any of the other SGA memory settings; SHARED_POOL_SIZE, LARGE_POOL_SIZE, JAVA_POOL_SIZE & STREAMS_POOL_SIZE.
    - Adjust the PGA memory setting, PGA_AGGREGATE_TARGET. NOTE: This is a target, so a decrease in this process will not directly affect the memory footprint of the ORACLE.EXE.
    - Unset SGA_TARGET and/or MEMORY_TARGET (11g).
    - Set USE_INDIRECT_DATA_BUFFERS=TRUE.
    - Unset DB_CACHE_SIZE. Set DB_BLOCK_BUFFERS to the desired size (this will use memory above the 4Gb range).
    2.Start the database.
    Steps for NON-Enterprise Editions of MS-Windows
    1.Decide on the size of the SGA and PGA, given 0.1Gb overhead for the ORACLE.EXE and the 3Gb memory limit (as per the BOOT.INI /3GB switch).
    2.Adjust the SGA_TARGET and/or MEMORY_TARGET (11g), or use explicit settings for the SGA components and eliminate auto-tuning. NOTE: Advantages of auto-tuning are often minimal on Windows 32-bit due to memory limit issues.
    3.Adjust the PGA memory setting, PGA_AGGREGATE_TARGET (optional on 11g). NOTE: This is a target, so a decrease in this process will not directly affect the memory footprint of the ORACLE.EXE.
    4.Start the database.

  • Firefox keeps freezing and using 50% cpu and memory usage shoots up most of the time it's when there's an auto update of anything addon, plugin or ff!

    Firefox keeps freezing and using 50% cpu and memory usage shoots up real fast and carries on going till it uses up all there is left. Most of the time it's when there's an auto update of anything addon, plugin or ff but not just neccessarily then! I find out it's happened when there's been an update after i restart and an extra webpage comes up with the particular addon/plugin/ff update. I have to restart most of time because nothing sorts it out. I'm using windows xp with the latest update of ff 13.0.1 it's not this version because it's been happening for a while. And it never started when i added a particular addon or plugin or when i added a new app to my pc either. Any idea as to what this may be or how i'd sort it out?
    Cheers

    Maybe disable hardware acceleration? This article should help: https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-ram

  • I have an iMac OS X ver 10.7.5.  Processor speed is 3.06 GHz intel core i3, and the memory is 4 GB 1333 MHz RAM.  My online banking app is being updated and requires OS ver 10.8 or newer.  When I ask for available updates, the system says there are n

    I have an iMac OS X ver 10.7.5.  Processor speed is 3.06 GHz intel core i3, and the memory is 4 GB 1333 MHz RAM.  My online banking app is being updated and requires OS ver 10.8 or newer.  When I ask for available updates, the system says there are none available.  How can I update my system to ver 10.8 or newer to accommodate the new banking app?

    You can update directly to Yosemite (for free) through the App Store (this is 10.10). Make sure your existing applications will run on this OS.
    If you wish to stay at 10.8, you can order this through the online Apple Store (it's $20), and they will email you a redemption code to be used on the App Store.
    http://store.apple.com/us/product/D6377Z/A/os-x-mountain-lion
    Matt

  • Do you still use memory Freeing apps?

    Do you still use memory freeing apps now that you have an Iphone 4?
    Are there any benefits to using one, while using an Iphone 4?
    I used to use these apps all of the time when I had a Iphone 3g, but I haven't found the need for one on my Iphone 4.
    Message was edited by: Iskor12

    I'm using the app called "System Activity Monitor" I think it costs you money to buy one, but it's a nice feature, it frees up some memory automatically if you launch the app, it also shows you what processor you are running. I barely go on it but sometimes when I check I find that I only have 5 MB of ram left and it's nice that it frees it up automatically. Other than that I don't usually check it often but there are times when I do need to check it.

  • Why does my ipad suddenly leave the app I am using and go back to the main screen

    When I am using apps on my ipad it suddenly leaves the app and reverts to the main screen, does anyone know why this happens?? Is it a problem with the ipad?? Doesn't happen with any particular app, seems to affect all apps. And it doesn't happen all the time, just sometimes, very annoying. Any ideas as to what could be going on

    This is typically a memory issue - meaning, you have too many apps running. You don't mention your device and iOS version so it's difficult to say. Try this...
    Double click the Home button and close all open apps.
    Reset your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.

Maybe you are looking for

  • How to read a number from a web page

    hello everyone I need to read a number from a webpage. This number is online electricity price which is updated every 5 min. I need to use this price as a parameter in my controller any suggestion will be appreciated in advance Reza Solved! Go to Sol

  • Rebuilding config server.  what/how to archive and restore?

    Greetings, I've recently realized that I've gotta either re-jumpstart a server (because the root disk isn't mirrored, and because some other packages didn't get installed), or manually mirror the root disk (using SVM). What I'm after here is info on

  • Anyone have a spare microphone cable for ibook G3 12 inch

    Anyone have a spare microphone cable for ibook G3 12 inch? I pulled the wire from the connector when replacing my logic board.

  • Changing the icon for Entry Points

    Hi Everybody, There are some default Entry Points for Pesonal Documents, Public documents, Recently used, Favourites etc.  All these Entry points are being displayed with the default icon image. I want to replace these default images with custom imag

  • Testing WebService through WS Navigator in CE 7.1.1

    Hello All, We have a scenario where the web service in created in ECC and hosted on PI Service Registry. When we  try to test this web service through WS Navigator, I am getting the error "Invalid Transport binding settings [_confidentiality0210] Exp