Why are there je.maxMemoryPercent and je.maxMemory?

What might be the reason to have two properties (namely je.maxMemoryPercent and je.maxMemory) to set one thing, namely the size of the cache?
Would it not be better to have just one property like
je.maxMemory = 60% ; wanna have 60 percent of max heap reserved for cache memory
je.maxMemory = 20MB ; wanna have a fixed size of 20MB (also supported: TB, GB, KB and B).
je.maxMemory = 20000000 ; throws InvalidArgumentException (ambiguous value, neither fish nor flesh).
And the pro side I count:
* only one property to watch
* no such thing as which property wins when both are set
* very easy to grasp and easy to read (in comparison with je.maxMemory = 29876634334343 => how many MB are this??????)
On the "cons" side I'm counting .. nothing.

greybird wrote:
You have a point, but since the values are type Java long, it isn't something either easy to change, or high priority.
--markWell, all configuration parameters could be passed as Strings and internally parsed into appropriate long values. Meaning, the current "long" configuration methods would be marked as deprecated (and visibility changed to protected in an upcoming major release).
Then all configuration parameters could be corralled into an "enum" and a single additional method would be introduced, namely
setConfigValue(PARAMETER parameter, String value) throws InvalidArgumentException
greybird wrote:
High priority, Well, yes, sigh :-)))

Similar Messages

  • Why are there different specifications and SKUs on the same model window air conditioner?

    Hello, The Best Buy website has a Frigidaire Home Comfort 12,000 BTU Window Air Conditioner - White Model: FFRE1233Q1 SKU: 6060171. In the Specifications next to "Energy Star Certified" it says "No" and doesn't show the EER. The picture of the unit shows an Energy Star emblem in the upper, right of the unit.
    The website also has a Frigidaire Home Comfort 12,000 BTU Air Conditioner - White Model: FFRE1233Q1 SKU: 8274079. It also states in the Specifications next to "Energy Star Certified": "No" yet shows the EER as 11.3. The picture of the unit also shows an Energy Star emblem in the upper, right of the unit. Both units are in the section "Best Buy/ Appliances/ Heating, Cooling & Air Quality/ Air Conditioners/ Window Air Conditioners/ Product Info".
    The Frigidaire website shows a Frigidaire 12,000 BTU Window-Mounted Room Air Conditioner FFRE1233Q1 and states Energy Star Certified": "Yes" and says the EER is 11.3. The picture they show looks to me like the same picture on both pages I've referenced on the Best Buy website and also shows an Energy Star emblem in the upper, right of the unit.
    Can you possibly tell me what the difference is between the 2 units on the Best Buy website and the Model FFRE1233Q1 on the Frigidaire website? Thank you.

    Hello agreatcompany, 
    This is certainly bizarre! To my knowledge, it seems that these are the exact same unit, so there wouldn't be any differences. It is possible we were doing some modifications to the information on this unit, and ended up changing the SKU, causing 2 to exist, which may explain why you were able to see both on BestBuy.com at one point. Presently, it would seem the only SKU available on BestBuy.com would be SKU 8274079. 
    In regards to the specifications, we receive all of the information from the vendor. With that said, I do see that this model appears to be Energy Star Certified according to Frigidaire's site, yet we do not have it listed as such. Please know that I am bringing this issue to the attention of the appropriate teams to have it reviewed, and any errors corrected. 
    If I should be provided any alternate information in regards to the two SKUs, please know that I will update you right away! If you should have any questions, please let me know. 
    Regards, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Why are there iOS Applications AND mobile Applications folders?

    I am cleaning up my hard drive for 2013 and have disovered that my iTunes folder is the largest folder. Good for me.
    Within my itunes folder are both an iOS Applications folder and a Mobile Applications folder They both have recent Modifed Dates and there is some .ipa overlap in terms of applications and serial numbers, it seems like the older stuff is in the iOS Applications folder. I own both an iPad and iPhone but cannot seem to fathom any consistency as to which apps go where.
    Do I need both of these and if not is there an easy way to resolve the "problem"? (Assuming it really is a problem.)

    Interesting, I only have the Mobile Applications folder. If there are any applications that appear in the iOS folder but not in the mobile folder, you can move them over to the mobile folder, and then delete the other one.

  • HT1711 why are there duplicates sometimes and then when I go back in there gone?

    I have noticed lately that some songs are now in duplicate.  This does not always happen.  Is anyone else having this problem? 

    Try to open the system menu via Alt+Space and see if you can resize that window.<br />
    If that works then close Firefox to save the setting.
    See also:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • If i am the only user and owner of my macbook, then why are there 78 users in the directory editor?

    Hi guys just wanted to know little bit about the open directory as my MacBook Pro has been playing up on and off at least a couple of years.  I have been advised by Apple over the phone or as well as over the genius bar in trying to get my mac to behave.  This normally solves whatever problem that has been happening at the time. "Great, job done!"...  Not so much, as another problem eventually shows it's ugly pixelated face again and then we end up going round the Infinite loop ride one more time...  And this ride ain't always free!  I have forked out about £600 on it so far and it wasn't cheap in the beginning!  Anyway I have just got off the ride and before I get punched by a plyst to get back on I would rather learn about the things I don't understand so hopefully I can resolve the matter without hair loss.  So my main question so far is why are there 78 user names (most of which are computer related names, not all) are found in Directory Utility?  I do not play games on my Mac it is mainly used for media such as iPhoto, iTunes, pages, mail and surfing the net.  So which out these 78 users do I select as a server?
    If you have any suggestions or pointers then please post a reply.
    Thanks for reading
    Orion

    So which out these 78 users do I select as a server?
    None. It's normal. Make no modifications.
    It's not clear what trouble you are experiencing, or if anything is wrong at all. If your Mac is not behaving as you expect it should, describe what's wrong in as much detail as possible.
    Include all relevant details regarding your MacBook Pro starting with which one of its three dozen models you have. Posting the results of EtreCheck will help with that. Read about it here.

  • Why Are There Two Sets of Current Flash Releases, 10.3.x and 11.2.x?

    Why are there two sets of current Flash releases, 10.3.x and 11.2.x?

    As Pat mentioned, our current policy is to support the last major version of Flash Player with security related fixes.

  • Re: Why are there numbers not showing up on my verizon online call and texts log?

    I am having the same problem with texts not appearing on my online text log and have also noticed a huge increase in data since my two sons have had their iPhone 5s.  I have the iPhone 4.  Two problems here
    iPhone users DO appear.  In the posted questions and response below, you indicate that if we are all using iPhones then we are not using the Verizon network but using data.  HOW DO I STOP THIS DATA USAGE AND RETURN TO USING THE NETWORK?  I can't afford the data charges that I am getting.. HELP!!  and Thank you.
    1.   Re: Why are there numbers not showing up on my verizon online call and texts log?     
              SuzyQ     May 11, 2013 8:03 AM    (in response to aheath17)    
    If you are all using iPhones, then it's likely the texts are going through iMessages and therefore use data.  Since the texts are not using the Verizon network, but the app, they do not show up in the logs.  The app is not specifically blocking the texted numbers from showing up, but the information comes through Verizon as data usage, not numbers texted.   

        Sparkyjames81,
    Lets figure out just where those texts are going! There are many apps that can be downloaded from the Play Store for Android phones that will allow messages to be sent over the internet, and therefore they are not actually text messages and will not show up in our records. Even Facebook has their own messaging app available that does this.
    If you have an iPhone, they come with a service called iMessage that allows for messages to other Apple devices be sent via the internet, and this will also not show up on our records. These are all ways to bypass our actual texting services, and since these messages are not being sent as texts they do not show up on our records.
    SarahO_VZW
    Follow us on Twitter @VZWSupport

  • Why are there 2 folders created - the photo library and the synced folder

    Why are there 2 folders created on the iPhone during a sync?  The photo library and the synced folder both show up.

    Thanks for your help mate
    This is what I've got, should I modify it?
    Thanks again BDAqua,
    Have a G'day

  • Why are there so many apps and wearable tech out there that specifically focuses on losing weight?

    I'm under weight and would really like to see some apps for people like me who want to gain about 30 lbs!

    Why are there so many apps and wearable tech out there that specifically focuses on losing weight?
    Because there's a 35x bigger market for it.
    Percent of adults   age 20 years and over who are overweight, including  obesity: 69.2% (2009-2010) - http://www.cdc.gov/nchs/fastats/overwt.htm
    ...an estimated 1.7% of U.S. adults aged 20 and over are underweight - http://www.cdc.gov/nchs/data/hestat/underweight_adult_07_10/underweight_adult_07 _10.htm
    I suggest you type
    weight gain app osx
    into a search engine.  I did and one came up on the top line (no idea if it is any good, you have to determine that yourself).

  • Why are there numbers not showing up on my verizon online call and texts log?

    << Discussion  moved from All Things Community to Apple for better exposure >>
    Why are there numbers not showing up on my call and texts log when i look this up online at verizon? There is one number that my daughter texts and calls a lot i found from her phone log but not one time does it show when i look this up on the Verizon wireless call log???  We all have iphones is there an application or something that can block certain calls from showing up? It clearly has texts on her phone from this number why would it not be on the call log?

    Thank you for your reply.
    However, wouldn't an iMessage show up different than a text? It looks just like every other text on her phone.  We all have iphones in this house and they always show up as texts on  the call log but this one number seems to be blocked somehow from showing up on the text log. And there are texts from weeks ago and it's from an actual number not computer or any weird/odd code and yet it never comes across on the text log when i look it up. 
    If you are correct and it's coming across as iMessage is there a way for me to block texts coming across this way so they all show up on the text log?

  • Why are there so many more choices on the USA iTunes Store? Surely having an iTunes account should let you access all itunes availability the world over? Also how do you request films/tv series to the UK itunes?

    Why are there so many more choices on the USA iTunes Store? Surely having an iTunes account should let you access all itunes availability the world over?
    Also how do you request films/tv series to the UK itunes? There's tv series I'd like but they're incomplete like The Batman &amp; Xena Warrior Princess. And films theta aren't available for download but you can purchase in a store like HMV?  Apple isn't doing itself any favours by secluding countries by their store. They'd make billions if you could just select the iTunes Store you want to search &amp; purchase from just by signing in! If anything what they're doing is putting themselves into a corner, other companies like Samsung &amp; HTC are already on too of them for innovation &amp; ease of use. The people they're attracting are predominantly existing Apple users not new customers. What do you guys think?

    It's not Apple's choice, they can only sell a particular item where the content provider/rights-holder has granted them a license to sell them. Content is licensed by the rights-holders to Apple on a country-by-country basis, each country therefore has to have its own store, and you have to be in a country to use its store - they want control over where their content is available.
    You can try requesting that an item be added to the UK store via this page, but unless the rights-holder agrees to then Apple won't be able to sell it here : http://www.apple.com/feedback/itunes.html

  • Why are there so many flash updates?

    Why are there so many Flash updates… I have had two in the last week and at least one more since the start of the year. It seems to have really got silly this last 12 months, is Flash really that unsecure and unstable that it needs this many fixes and updates?
    I know you can tick the install in background box when updating but I like to know what is going onto my computer and given Adobe's knack of crashing my system when using PS and AI I don't really want them silently installing anything.

    99% of the time the update gets prompted by Youtube or BBC when videos won't play on there sites and I follow the links through them. You would like to think that big sites like these would not allow false links to malware to crop up, but it isn't out of the question. Next stop, up to date anti virus…..
    As far as Youtube goes I thought they had adopted HTML 5 now as standard and didn't rely on Flash?

  • HT5085 I have found that at least 3 music videos that I had previously purchased are not available in my I-tunes music video list.  I paid for them over a year ago, why are they not accessible, and why did they just disappear from my lists?

    I have found that at least 3 music videos that I had previously purchased are not available in my I-tunes music video list.  I paid for them over a year ago, why are they not accessible, and why did they just disappear from my lists?

    Have you deleted anything from your iTunes library ? Have you checked to see if they are still on your computer, but not listed in your iTunes library ?
    If not then do they show in the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage for redownloading ? If they don't show there and others do and they are still in your country's store, then check to see if they are hidden : http://support.apple.com/kb/HT4919
    If they are no longer in your store for redownloading (or you aren't in a country where music videos can be redownloaded) then you will need to copy them back from your backup of your library/downloads.

  • Why are the threads start and terminate randomly?

    Hi there,
    I got the program below. I am wondering why are the threads start and terminate randomly? Everytime, I run the program, it produces different results.
    I know that these four threads have got same normal priority (should be 5), and under windows there is something called timeslice. Then these four threads rotate using this timeslice. How do we know what exactly the timeslice is in seconds? If the timeslice is fix, then why the results are ramdom?
    Thanks in advance!
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package mythreadone;
    * @author Administrator
    public class MyThreadOne implements Runnable {
    String tName;
    Thread t;
    MyThreadOne(String threadName) {
    tName = threadName;
    t = new Thread(this, tName);
    t.start();
    public void run() {
    try {
    System.out.println("Thread: " + tName);
    Thread.sleep(2000);
    } catch (InterruptedException e) {
    System.out.println("Exception: Thread "
    + tName + " interrupted");
    System.out.println("Terminating thread: " + tName);
    public static void main(String args[]) {
    // Why are the threads start and terminate randomly?
    new MyThreadOne("1");
    new MyThreadOne("2");
    new MyThreadOne("3");
    new MyThreadOne("4");
    try {
    Thread.sleep(10000);
    // Thread.sleep(2000);
    } catch (InterruptedException e) {
    System.out.println(
    "Exception: Thread main interrupted.");
    System.out.println(
    "Terminating thread: main thread.");
    1. Firstly, I set in the main function:
    Thread.sleep(10000);
    and I run the program it gives:
    Thread: 1
    Thread: 4
    Thread: 2
    Thread: 3
    Terminating thread: 1
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    Run it again, it gives:
    Thread: 2
    Thread: 4
    Thread: 3
    Thread: 1
    Terminating thread: 2
    Terminating thread: 1
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    And my question was why it outputs like this? It suppose to be:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 1
    Terminating thread: 2
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    Why these four threads start and finish randomly each time I run the program? I use Windows, suppose there is a timeslice (i.e. 1 second), these threads have the same priority. Then the threads should start and finish in turn one by one. Am I right?
    2. My second question is:
    When I change the codes in the 'main' function into:
    Thread.sleep(10000); -> Thread.sleep(2000);
    it gives me the results like:
    Thread: 1
    Thread: 4
    Thread: 3
    Thread: 2
    Terminating thread: main thread.
    Terminating thread: 1
    Terminating thread: 4
    Terminating thread: 3
    Terminating thread: 2
    BUILD SUCCESSFUL (total time: 2 seconds)
    Run it again:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 3
    Terminating thread: main thread.
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    I tried several times. The main thread always terminates before or after the first child thread finished.
    My question is why it doesn't output something like:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: main thread.
    Terminating thread: 1
    BUILD SUCCESSFUL (total time: 2 seconds)
    or
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: 2
    Terminating thread: 1
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 2 seconds)

    user13476736 wrote:
    Yes, my machine has multi-core. Then you mean that if I got a one core machine the result should always be:
    Thread: 1
    Thread: 2
    Thread: 3
    Thread: 4
    Terminating thread: 1
    Terminating thread: 2
    Terminating thread: 3
    Terminating thread: 4
    Terminating thread: main thread.
    BUILD SUCCESSFUL (total time: 10 seconds)
    ???No.
    >
    How to explain my second quesiton then? Why the main thread always terminates before some of the child threads end? Thanks a lot.

  • Why are there no CC Apps in my Creative Cloud Folder?

    Why are there no CC Apps in my Creative Cloud Folder? Just finished cramming Adobe Creative Cloud Flash Professional info. Tried to use it and found that it wasn't in my Apps Folder, nor anywhere else. During my search I discovered that none of the other CC apps were there either. All CS6 Pro apps are there, but no CC.
    IMac 21.5" desktop;  OSX 10.8.5;   2.5 GHz Intel Core i5:   1333 MHz;   4 GB DDR3;   500 GB HD + 500 GB external HD 

    Could you try to scroll down a bit and look into the "Find New Apps" section. I have attached a screenshot for your reference.
    In case you still do not see any CC applications, login to https://creative.adobe.com/products and try to download any CC app and then check if it gets installed and you see it under the "Your apps" section of CC desktop app.

Maybe you are looking for

  • Can two networked Macs access the same mailbox in Mail?

    I recently purchased an iMac G5 and have it networked with my flatpanel iMac G4. I would like to be able to open Mail on either Mac and have them both read the same mailbox. Is this possible without having to use/purchase another email application?

  • Down payments added to the net value

    Hello Experts, I have configured downpaymants as per my client requirement . I have entered manually the down payment condition type in the sales order but the down payment value has added to the net value. Is it standard system behaviour or please e

  • How can i make a calendar in dreamweaver cs5.5?

    how can i make a calendar in dreamweaver cs5.5 ?

  • Screen flickers while using external display

    while using my macbook pro with an external display (my sony LCD TV). the external screen (TV) flickers. it goes black for about a second then comes on. it will happen about 20 minutes into watching TV and happens more often the longer i watch. for e

  • Load a Flex2 SWF using SWFLoader: #1009 null error

    public function set visualization(vizSWF:String):void loader = new SWFLoader(); try{ loader.addEventListener(FlexEvent.CREATION_COMPLETE, setVizHandler); loader.addEventListener(ProgressEvent.PROGRESS, progressHandler); loader.load( vizSWF ); }catch(