Why is ENTIRE rt.jar loaded into memory?!?!?

We're developing under JDK 1.4-beta2 and are close to releasing to in-house use of our application. One thing noticed is that the entire rt.jar and other jars get loaded into memory equaling ~45MB !! I am amazed if this is 'normal' behaviour. Are we missing some tweak or option grossly obvious or well known?
Even a simple Hello World test program loads in the entire rt.jar.
HELP!!

cross post
http://forum.java.sun.com/thread.jsp?thread=184491&forum=37&message=588369

Similar Messages

  • Why does why does Flash container services load into memory whenever I manually clear all history? It's always set to 'ask before activate'.

    I am running Windows 7 SP-1 Ultimate and I always keep tabs on my processes with Task Manager. It gets very old always have to stop that process tree after manually clearing Firefox history from within the browser. Is this a glitch or intended? Thank you for any answer.

    I am not certain but I believe it is likely to be due to the fact that FlashPlayer use will result in Localy Stored Objects and possibly other cached items and so the service will need to open in order to clear them.
    I know a couple of years ago there was a glitch* in the process and plugin container opened unnecessarily multiple times and stayed open for the session
    * <sub> Bug 633427 - Clearing cookies launches instance of plugin-container for each plugin installed </sub>
    As an aside you can choose not to save History or to use Private Browsing on those occasions when it is important not to save the History. There should be no need to clear History manually to improve Firefox performance.
    * [[Private Browsing - Browse the web without saving information about the sites you visit]]

  • Why does [i]entire[/i] rt.jar get loaded into memory?

    We're developing under JDK 1.4-beta2 and are close to releasing to in-house use of our application. One thing noticed is that the entire rt.jar and other jars get loaded into memory equalling ~45MB !! I am amazed if this is 'normal' behaviour. Are we missing some tweak or option grossly obvious or well known?
    Even a simple Hello World test program loads in the entire rt.jar.
    HELP!!

    cross post
    http://forum.java.sun.com/thread.jsp?thread=184491&forum=37&message=588369

  • Help! Help! Help! Why is DPV and LACS not loading into memory ?

    Postalsoft Desktop Mailer - load into memory is checked and it does not load into memory,
    I tried it unchecked and it is the same speed.
    How do I fix this problem?????

    Tim,
    Please make sure to post any "classic Firstlogic software" questions under the Business Objects Enterprise Information Management (EIM) forum and you will get a much faster response.  Also you can log a case for support by going to the Help and Support tab on the SAP website, then click on Report A Product Error to log a case for support.  Just make sure to choose BOJ-EIM-COM for the component when logging a case for DeskTop Mailer or Business Edition. 
    Steve is correct.... we are aware of the slow speed issue with address correction when using DPV and LACS in DeskTop Mailer and Business Edition 7.90.  Rev 4 should be out by the end of this week.  This will correct the speed issue.  Please make sure to have the auto update option turned on in the software so you get this update.
    Thanks,
    Kendra

  • How do I find out the exact path of each and every file that LabVIEW finds and loads into memory for a given top level vi?

    How do I find out the exact path of each and every file that LabVIEW finds and loads into memory for a given top level vi? There is probably a trivial, easy way to get this info, but I have not yet found it!  Thanks..

    Or if you want to grab all the paths programatically, try the attached VI.
    Open the top level that you want all the paths from and close all others, then open the
    attached and run it. It will return an array of all the VIs that the VI
    in question uses, including vi.lib VIs. You can filter these as well if
    you like.
    Ed
    Message Edited by Ed Dickens on 08-01-2005 07:01 PM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Get all paths.vi ‏29 KB

  • Why does LabVIEW sometimes hang when DLL loads into memory?

    I'm calling a third party DLL from LabVIEW 2010.  LV occassionally hangs (Not Responding) when either loading the DLL into memory or when closing my main VI.  When it doesn't hang, it communicates with the DLL seamlessly.  When I try to build an Application (exe), LV always hangs during the build at the point that it is saving the main VI (the scroll on the builder moves until it says "Saving main.vi").  Any insight into what needs to be done to the DLL (or VI) to resolve this issue?

    What does the DLL do? One cause of this could be to try to load/unload other DLLs in PROCESS_ATTACH or PROCESS_DETACH of DLLMain. Microsoft has in many places said that doing this is highly unsafe and asking for all kinds of troubles, since the DLL loading is not fully reentrant.
    Another possibility would be incorporation of ActiveX components that use some form of RPC mechanisme to communicate with out of process ActiveX/OLE components. The necessary RPC proxy hooks into the calling processes message loop and that is a delicate piece of code in LabVIEW. Even when the DLL does not use ActiveX itself, it might employ some message hooking on its own and mess up things in a way that Windows and/or LabVIEW get confused.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Exporting from Motion Loads Into Memory

    I completed a slideshow in Motion, and am trying to export it out for a DVD.
    First I tried exporting from Motion to DV NTSC format, and after watching my memory & CPU, it appears that Motion is loading the project into memory for export.
    So I quit the process, quit Motion, loaded the Motion project file into compressor, and submitted a job to the Batch monitor to compress from my Motion project to DVD.
    The process is taking 5 hours for a 10 minute piece. The CPU's are running at around 10% and my memory is full? I was hoping compressor would not load the project into memory and instead use the CPU to render.
    I suspect my slow down is from the project paging in and out of memory to compress?
    Does anyone know how to force compressor to use CPU for rendering and not load a Motion Project FIle into memory?
    Thank you.

    I do slideshows regularly. I render out of Motion to DV. Clean, fast, slick.
    I pull that DV movie file into DVDSP (if I'm going that direction) and let the defaults to their job. Clean, fast, predictable results. Your output efficiency depends on your image sizes and effects and nesting so I carefully reduce the size of my stills, preplan nests, and prerender/reimport where possible
    I don't see where you are having a problem unless you are simply misinformed. You must render out of Motion or you must render the .motn project file from within another app like FCP but it's going to be processed in exactly the same way as if you have rendered out of Motion.
    You CAN set up Quemaster to run batces using all of your Mac's cores as separate rendering engines but that gains you nothing in Motion projects, usually, since you only have one graphic card. And Quemaster, despite a few success stories on that forum, remains a cruel joke.
    bogiesan

  • Limitation of BitmapData loaded into memory through Loader.load()

    I am creating a photo gallery using Loader.load() to load
    pictures into Flash Player 9. I plan to make them preloaded in
    advance so when the users turn the page they can see the pic on the
    new page right away without waiting. So the pics are loaded one
    after another automatically on backend. When users request a new
    page, the bitmap object are simply added onto the page’s
    display list.
    I publish the code and test on IE 6 and Firefox 1.5. Only
    about 50 pics can be preloaded on FF and about 70 pics on IE. I
    read some articles talking about memory problem of Loader in Flash
    8.5 alpha. So is it still a problem for "Flash 9 Actionscript 3
    Preview Alpha" ? Check the article -
    http://www.jessewarden.com/archives/..._battlefi.html
    Please see attached my code for preloading job. No error is
    thrown.
    Please advise. Thank you very much

    Hi,
    if it's a IA report the limit of columns you can show at the same time is 100,
    check http://docs.oracle.com/cd/E17556_01/doc/user.40/e15517/limits.htm for more limnitations.
    Regards
    Bas

  • Why is my cd not loading into the cd/dvd drive?

    When I insert my cd, nothing happens.  My touchsmart PC will not load the cd or dvd.

    In the past I imported over 1500 cds into iTunes without any problem, but when I just now checked one cd, it was recognized as an audio cd only and listed all the tracks as 'track 01', etc.
    Checking some ten cds it turned out, that only two of them were recognized, i.e. all data from the cd were read into iTunes.
    The cds are all regular and official.
    The reason must lie with iTunes (version 11.0.1 (12))

  • Question to load the entire database into memory.

    I am planing to load the whole database into memory. Suppose mydb is 10G. Then I plan Max Memory for 10G. Then I can create a named cache with 10G and bind the mydb to this cache. Is this the best way to load entire db into memory?
    If the whole db can be loaded into memory, if procedure cache, cache for tempdb and all other params are not important any more? Or still need to follow common practice to configure memory params?

    Hi Kent,
    12-15GB sounds reasonable.
    I recommend always including your version with your initial posting (unless the version simply doesn't apply to the question).  Particularly when running an unusual version, and 12.5.x has been end-of-lifed long enough to be unusual now.  Are you running SAP Applications on this system?  If not, please questions post to the SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications space instead, it is the space for general-purpose ASE questions.
    Cheers,
    -bret

  • Can I load a vi into memory programmatically

    Here's the situation (I'm programming in LV7.1)...
    I've got a program that runs, which uses the DSC.  I'm wanting to programmatically shut down and quit the Tag Engine when the program ends.  My problem is that when I use "Engine Shutdown.vi", all vi's that use the tag engine have to shutdown before the Tag Engine will completely shut down.  If I call this an wait (monitoring engine status for shutdown), then I get a deadlock error.  If I call this and end the program, then I get a pop up asking if I want to "Stop and close Tag Engine" (and for some reason an error afterwards as well, doesn't describe error, just that a log is being created.)  My goal is to have to pop up or dialog boxes appear that the user has to interact with when shutting down.
    So the solution that I believe would be appropriate for this would be to close the main program and have a separate vi (that is independant of the main program structure) call the "Engine Shutdown.vi", then quit itself, closing LV.  So I've been messing around with this...
    "Open VI Reference" with the vi path connected as an input (just a simple vi I made to kill the Tag Engine, wait until it falls, then kills Labview).  This is connected to an "Invoke Node" with the 'Run VI' method selected, property 'Wait until done' set to False, and 'Auto Dispose Ref' set to True.
    This works all fine on my developement machine, but I imagine I'm going to have issues when compiling this and installing it onto it's target machine.  How would I compile this?  If I add this vi to the build as a Dynamic VI will it automatically be loaded into memory when the program runs (on the target computer)?  If not, is there any way I can programmatically load this vi into memory in such a way where it is not a subvi to my program (else it will have same issues shutting down Tag Engine)?
    As always I appreciate everybody's help,
    Sean

    Mike, thx for your response.  Let me run this by you...
    So if I put Main.vi and Kill Engine.vi in the same folder on my developement machine, have the attached snippet of code execute when Main.vi is ready to shut down (very last thing to run, after all loops conclude) build the app (with Kill Engine.vi as a Dynamic VI), and install the app on the target machine, does it sound by you that this will work?  (Kill Engine.vi is the simple vi I made to shutdown and quit the Tag Engine, wait for this to conclude, then exit Labview).
    Thanks,
    Sean
    Attachments:
    snippet.JPG ‏8 KB

  • Should I load product info into memory or keep in db?

    Hi,
    I am going to develop a b2c shopping website with jboss-tomcat bundle. Now I must make a decision on whether I should load product info into memory or just keep it in table. If load into memory, the performance of customer browsing and searching will be good; but I am afraid of the memory capacity and issues like, when I want to update the product price or description, I need to refresh the memory objects. This shop has about 500 products and we will develop this application into Dell server with 1GB memory. Can anyone who has ever developed such e-commerce website give me some suggestions?
    Thanks.
    Henry

    I usally use XSLT enabled servlets using Apache Xalan http://xml.apache.org
    Its as easy as caching the result of a transformation for a particular URL request in a generic servlet against the string url and putting htem in a HashMap.
    Usual architecture is EJN stateless session beans sending xml to a servlet which styles it and caches the result according to configuration.
    Work out cache expiry etc later once you get things going.
    To answer your question completely, it would be on the servlet side that I would do the caching.
    You may be able to do it using servlet chaining or filters, although I have not tried this but have seen some tutorials about this sort of stuff.
    The main concept of page caching is storing the whole html page in memory in the servlet (or in a Java class structure contained in the servlet) and whenever a page request matches a cached entry, just send the cached html straight at the browser, instead of expensively creating a new dynamic page.
    Consider implementing gzip encoding as well and storing zipped pages in memory, much faster. Avoid implemrnting stuff that a proxy server would give you out of the box.
    I usually try to configure what urls are cached and what are not.
    If you are using JSP, I am sure someone has implemented caching of jsp content, a preoduct called Tiles perhaps?
    Josh

  • How to find out memory consumption for table in HANA without load it into memory

    Hi,
    To determine the memory consumption for a table in HANA, you can query table M_CS_TABLES, however, it requires load table into memory first, I just wonder if there has another table store memory consumption information for all HANA tables regardless it load into memory or not. Below is screenshot for one of table in my system, since that table is partially loaded into memory, "Total Memory Consumption (KB):" tell me the memory consumption of the portion load into memory, what I am looking for is something like "Estimated Maximun Memory Consumption (KB)" which provides me total memory consumption for that table including portion doesn't load into memory, of course I can use this Esitmated information, but consider I have close to thousand tables in my HANA system already, it's not pratical to check tables one by one.
    Thanks,
    Xiaogang.

    Hi Xiaogang,
    Estimated Memory Size that you see in the Table Run time Information - same is available in M_CS_TABLES also
    If you don't get the size of any Table in M_CS_TABLES View, then the same will also not be available in Runtime information of the Table
    Even if tables are not loaded into memory, you can get the Estimated Size, just try running the query with filter LOADED = 'NO'
    Regards,
    Vivek

  • Loading time into memory for a large datastore ?

    Is there some analysis/statistics about what would be the loading time for a timesten data store according to the size of the data store.
    We have a problem with one of our clients where loading of datastore into memory takes a long time. but only certain instances it takes this long.. maximum size for data store is set to be 8GB (64bit AIX with 45GB physical memory), is it something to do with transactions which are not committed?
    Also is it advisable to have multiple smaller datastores or one single large datastore...

    When a TimesTen datastore is loaded into memory it has to go through the following steps. If the datastore was shut down (unloaded from memory) cleanly, then the recovery steps essentially are no-ops; if not then they may take a considerable time:
    1. Allocate appropriately sized shared memory segment from the O/S (on some O/S this can take a significant time if the segment is large)
    2. Read the most recent checkpoint file into the shared memory segment from disk. The time for this step depends on the size of the checkpoint file and the sustained read performance of the storage subsystem; a large datastore, slow disks or a lot of I/O contention on the disks can all slow down this step.
    3. Replay all outstanding transaction log files from the point corresposnding to the checkpoint until the end of the log stream is reached. Then rollback any still open transactions. If there is a very large amount of log data to replay then this can take quite some time. This step is skipped if the datastore was shut down cleanly.
    4. Any indices that would have been modified during the log replay are dropped and rebuilt. If there are many indices, on large tables, that need to be rebuilt then this step can also take some time. This phase can be done in parallel (see the RecoveryThreads DSN attribute).
    Once these 4 steps have been done the datastore is usable, but if recovery had to be done then we will immediately take a checkpoint which will happen in the background.
    As you can see from the above there are several variables and so it is hard to give general metrics. For a clean restart (no recovery) then the time should be very close to size of datastore divided by disk sustained read rate.
    The best ways to minimise restart times are to (a) ensure that checkpoints are occurring frequently enough and (b) ensure that the datastore(s) are always shutdown cleanly before e.g. stopping the TimesTen main daemon or rebooting the machine.
    As to whether it is better to have multiple smaller stores or one large one - that depends on several factors.
    - A single large datastore may be more convenient for the application (since all the data is in one place). If the data is split across multiple datastores then transactions cannot span the datastores and if cross-datastorestore queries/joins are needed they must be coded in the application.
    - Smaller datastores can be loaded/unloaded/recovered faster than larger datastores but the increased number of datastores could make system management more complex and/or error prone.
    - For very intensive workloads (especially write workloads) on large SMP machines overall better throughput and scalability will be seen from multiple small datastores compared to a single large datastore.
    I hope that helps.
    Chris

  • Is the whole jar loaded for a single class?

    Hi,
    Hopefully this is an easy yes/no question.
    If my application makes reference to only a single class in a jar that has many other classes, does the entire jar (all the other classes) get loaded into memory?
    If so, then it's worth it to break the jars up into only those classes I need (they're third party jars). Otherwise, I'll have to look for some other solution.
    TIA.
    Mike

    No you don't.Yes he does - he was big enough to admit it - can't you?
    import xyz.* doesn't "load everything in memory" as
    schapel stated. You better read chapter 1 of your book
    again (and again until it sinks in) before answering
    advanced forum's questions.Perhaps you should reread schapel's post before making hot-headed replies to the advanced forum's questions. Besides, you must not read these forums too much because this topic comes up a lot.

Maybe you are looking for

  • Failed to open PDF file when placing a PDF in Indesign CS5

    I am also having an issue when I am able to place the PDF that the bleed isn't showing up and the crops aren't either

  • Changing identity of a legally purchesed used MacBook

    Hi folks. I have just returned to the Apple wprld after too many years in the Windows netherworlds. I am currently an English teacher in Bandung, West Java, Indonesia. I have purchased a used MacBook 2,1. It is running 10.4.11. It was a completely le

  • Java 6 Update 12 64bit Java Webstart documentation

    I notice that 64bit 6 Update 12 comes with 64bit version of Java Webstart - I am just wondering whether there are any documentation on how 64bit Java Webstart works? For example: 1) By default it will use the 64bit JRE to launch an application. What

  • Stock order

    I created a sales order which already have inventory, then use vl01n to create a delivery note but the error log show me that "No schedule lines due for delivery up to the selected date". Then i check the schedule line, i found that the confirmed qty

  • Restore issue after updating to IOS 8

    I updated my ipad mini a few hours ago but following the IOS 8 install it will not restore from any back ups (most recent just before updating) at all and will not sync apps with itunes either, it just causes itunes (ver 11.40.18) to stop working and