Is it possible to config memory size for a process?

Dear experts,
I would like to control the memory size assigned for a process on Solaris 9. Can i config memory size assigned for process??
Many thanks,
Shun

You can use ulimit/limit to assign a bound on the amount of space that a process and its children can allocate.
I'm not sure if that's what you're asking though.
Darren

Similar Messages

  • Find heap memory Size for Web Intelligence processing server in BO 4.0

    Hi All ,
    We need to gather data for sizing inputs.For Adaptive processing server , we can find same by going in CMC> Server > APS > Properties & check value for the parameter -Xmx  . Could you please tell how to  find the max heap memory allocated for a Web Intelligence processing server in BO 4.0 as for Webi server this parameter is not maintained. ?
    Regards ,
    Abhinav

    Hi Abhinav,
    The maximum threshold is a value which may reach on peak usage and Webi processing server cannot occupy memory beyond this value at any time.
    In your situation 9 Webi Processing servers with 16 GB of RAM on server is not recommended. This is because consider situation with total 16 GB of host RAM.
    4 GB should left for OS
    Tomcat will need minimum 2 GB for 200 users
    So you are left with 10 GB RAM for all BO services
    Now 9 Webi Processing servers with 6 GB of Threshhost will not work here
    For this configuration you can have 2 Webi Processing servers with default threshold should be running on single host.
    Regards,
    Hrishikesh

  • How to set memory size for JRE

    hi all,
    Is there anyone know how to set the JRE memory size?
    My run my applet application onto browser and I want to increase to size of memory. Such as -ms 128m -mx256m.
    please help.
    regards,
    elvis

    The suggestion could be convert applet into WebStart application which is quite similar to applet (at least
    it is distributed similar way, resides within sandbox etc) but allows to specify memory size as you requested.

  • How to change heap memory size for general java applications (not applets)

    Hi. I made a java class which manipulates images and I sometimes get an out of memory error when the files are large. In these cases I can run it successfully from the command line using:
    java -Xms32m -Xmx128m myappbut as I run this class from a firefox extension, I can't use this technique.
    Could some one tell me how to set this globally? I've found a lot of info on setting it for applets in the control panel but that's it. I also tried editing my deployment.properties file by adding:
    deployment.javapi.jre.1.6.0_11-b03.args=-Xmx128mbut none of these options seem to work.
    Thanks for any help.

    Also you can use use [JAVA_TOOL_OPTIONS|http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#tooloptions], with more documentation here. JAVA_TOOLS_OPTIONS is available since 1.5. There is no direct documentation on [_JAVA_OPTIONS|http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html] but was made available since at least 1.3.
    The recent existing forum thread [Java Programming - How to change the default memory limits for java.|http://forums.sun.com/thread.jspa?threadID=5368323&messageID=10615245&start=36] has a long discussion on the issue.
    You specified you are not using applets, but if you do, I would also suggest you use the next Generation Plug-in (since 1.6.0_10) that allows you specify the max memory in the applet without having to instruct the user how to make the change. See [JAVA_ARGUMENTS|https://jdk6.dev.java.net/plugin2/#JAVA_ARGUMENTS] for applets. Java Webstart uses resources.

  • Maximum data segment size for a process

    Hello
    we have an issue in our proxy server with the size of a process.
    the process grow in size and when it reaches 4Gbytes, the process stop with an error that it cannot allocate memory, we check and there's plently of swap left,. all the ulimit settings in solaris 10 are set to 'unlimited'
    is there a way i can see or determine, bypass configure what is the maximum process size. on a 64bit solaris.
    thank you in advance
    Mario G.

    It sounds like you're running a 32-bit app. You need a 64-bit application for it to be able to utilize more than 4 GB of RAM.

  • Save for Web with Optimize File Size for Batch Process

    I have a client who needs to be able to run a batch process on jpg images ranging in size from 600KB to 2.5MB optimizing their file size as close to 200KB as possible. The feature is included in Photoshop's save for web optimize dialog but it doesn't work for batch processes. If you record an action with the optimize to file size option set it processes all the images in the batch based on the quality settings required to resize the image you used during recording, meaning if the image you recorded was 1.5MB the quality setting might be 70 percent to hit the 200KB mark but that wouldn't be the correct quality setting for a 600KB file nor a 2.5MB file those would either be too small or too large.
    I've done quite a bit of searching both online and in the photoshop scripting forums but I haven't been able to find anything that would point me in the right direction.
    My client's paying for this work so if there's someone who knows how to script this who'd rather be paid than just do some pointing we can arrange for that quite easily.
    Thanks in advance for your assistance and suggestions.
    In case it's of importance we're using Photoshop CS4.

    If you don't mind spending a few bucks on a shareware prog, Jpegsizer has the option to save to a filesize.
    You can find it here.
    http://www.tangotools.com/jpegsizer/register.htm
    There is a free trial version, but you can't save files.

  • Optional Package - does it decrease memory size for war

    We have around 10+ war files running within WLS 10.3.4.
    Each of the war files are around 40 megs each.
    I am looking at building a frameworks jar (via Apache Shade) and make that jar an optional package (which includes all my 3rd party frameworks like Spring/CXF/etc).
    By deploying this jar as an optional package, I can cut the size of the war file in half.
    The question is, does this really save the size of the war in memory?
    When I deploy a war with a reference to an optional package, does WLS explode the war, import the optional package, and rebuild the war for deployment so that in the end, it equates to the same size war as if I had never utilized the optional package? The documentation seems to allude to this.
    I want to know (before I do all the work), if decreasing the size of the war by excluding 3rd party libraries into an optional package will actually reduce the size of memory for each war.
    Thanks,
    Jay

    One option is: use the c6/c7/c8 parameters if the INSTALL APDU. Start with a high value and work your way down. That will tell you how much mem you have.
    The other option is to load an applet that allocates a large byte array. Work your way down and when it can successfuly allocate the memory, that's whats available on the card for you to use.
    Third option: Get a 2.2 card and just call the API ! ! !

  • Is it possible to set frame size for a new project ?

    Hi all,
    i would like to create a video in which there will be 2 videos playing the same content from a different angle.
    Each video is 512 x 384 .
    So i would like to set the frame size of the project as 1024 x 768 in order both videos to exist.
    I searched around for tutorials regarding this but i didn't find anything similar.It seems as if i cannot set the frame size of the project from the start.
    So,is there a way to do this?
    Thank you for your time reading this.
    Regards,
    nikits72.

    Hi and thank you for your answers.
    @->shoternz
    It will be displayed in my monitor and probably on you tube.Btw your remark on size was very accurate.Didn't think of that.
    Although i could use a little bigger height to use it to display a logo or something....
    I am very premiere newbie as you can understand.
    Regards,
    nikits72

  • Is it possible to change memory size while runtime?

    Hi!
    Is it possible to set the Xmx value while runtime?
    I try to do something like this java Myclass -Xmx128mBut only in a dynamically way while my application is running.
    I'm developing an image-rendering - extension for an existing app and there's no chance to edit thejava XYZ statement.
    I don't think that's possible, but If anyone has an idea....
    Thanks!

    Yes. Both RAM and the hard drive are easily accessible and replaceable. The warranty is not voided because both are considered DIY. However, if you damage the computer in the process then your warranty will not cover that damage. But it is not voided.

  • Is it possible to have different size for a combobox and its popup?

    Hello,
    I am showing a JComboBox with all possible fonts. Some of the font names are very long. I'd like to show a narrower combobox but when the popup menu is open to make as wide as necessary.
    Is that possible?
    Thanks.

    Hi.
    I found this a while ago, but never used it myself:// A Custom UI for the combo box popup
    private static class PopupExpandingComboBoxUI extends WindowsComboBoxUI
    protected ComboPopup createPopup()
    return new ExpandingComboPopup(comboBox);
    // Our custom popup menu - it makes up its own width
    private static class ExpandingComboPopup extends BasicComboPopup
    public ExpandingComboPopup(JComboBox cBox)
    super(cBox);
    public Rectangle computePopupBounds(int px, int py, int pw, int ph)
    // Ok - just set the popup width to 200 for now - should be calculated though
    return super.computePopupBounds(px, py, 200, ph);
    }

  • [Athlon64] K8MM-V - Memory Size

    Hi,
       I have a K8MM-V with a AMD Samperon 64bit (3000+) CPU and am wondering  about the max memory size for it.
    The website says that it handles 2GB of DDR400.  I have 2x1GB DDR400 chips and the BIOS only sees 1.5GB as does Windows.
    The memory have Samsung chips and are of the same time.  What is wrong? Or did I not set something correctly?
    Bios is at ver1.3.  The memory is set to AUTO.  So I am not sure what is going on

    Memory banks, You know you can get double sided memory modules.
    So if you installed a double sided module you could not use dimm slot 2.
    Each dimm slot has 2 memory address lines so you can access both sides at the same time and use double sided modules.
    So
    dimm slot 1 = bank 0 and Bank 1
    dimm slot 2 = bank 2 and Bank 3
    dimm slot 3 = bank 4 and Bank 5
    Since there are over hundreds types of memory modules and they are using different type of DRAMs to build them, it is very possible that you have purchased a (cheap) memory module which is not compatible with your computer.
     For example, there might be 3-4 different types of 128MB memory modules and some computers are very picky and can only support 1 type or 2 types of 128MB memory modules.  If  it is incompatible, then usually you will not be able to boot up your system or you will see frozen screen or system might only recognize half of the memory size. This issue adresses to very low compatibility, because memory maker use several configuration.
    Maybe you can try setting memory to "SPD"
    Edit here: try using only one stick at a time, if they are reconized alone as 1 GB the problem will remain in the very low compatibility issue, and maybe you want to buy some others ram stick from another chip maker, maybe Geil, or Corsair.

  • Is there a problem with maximum RAM size for Satellite 320CDT?

    I have a Satellite 320CDT with the latest BIOS (v8.00) and Windows 98 SE installed; there is 32MB base memory and a 32MB module in the single expansion slot. If I change this for a 64MB expansion module I can still only see 64MB total memory reported, not 96MB as expected; the spec for the machine states that the maximum allowable memory is 160MB (32MB base + 128MB expansion). Does anybody know if there is a problem with the maximum memory size for this model and whether there is a solution or workaround? I need to know quickly, in order to decide if I need to return the memory module to the supplier! Many thanks for any help, Peter

    Are you certain you tried the correct type of memory module? It sounds like you're maybe trying to fit an incompatible type.
    There's a few different suppliers below.
    http://www.orcalogic.co.uk/asp/prodtype.asp?prodtype=5634&ft=m&st=3
    http://www.offtek.co.uk/product.php?manuname=Toshiba&maincat=1&subcat=1&mo del=Satellite+320CDT
    http://www.crucial.com/uk/store/listparts.aspx?model=Satellite+320CDT
    http://www.memoryx.net/tosa323bame1.html

  • Epson Print CD - "Increase memory size"

    Bit of a long shot I guess, but I'm trying to print onto a CD using Epson Print CD... However, when I go to print, it comes up with a message that says "Please increase memory size for print CD", and won't go any further. I'm guessing that has something to do with setting preferences in OSX, but I have no idea what to do...
    Any ideas?

    Greg,
    Actually the versions are newer. I just visited the Epson website and found this info. Thank you for the pointer.
    Here's the PowerPC version for your iMac iSight 2.5aAas for 10.2 to 10.4, and Intel version, if you got any Intel Macs 3.0aAs for 10.4.4 and above on the U.S. website. The U.K. links for the same printer are here: PowerPC version 2.5, and Intel version 3.0. Not sure if there is a difference, but you might want to try the U.S. version of the drivers. Realize we here in the U.S. spell colour, color!

  • Limit size for attachment

    Hello. Is possible to restrict the size for each attachment? I know that CRM permit upload attachment for 9MB maximum, but I want to restrict my users that every attachment souldn't exceed 1MB.
    Thanks

    There is a way to get round the attachment size issue if you can create an office/LAN filing folder structure (with no spaces in the file path/s and file name) and add the attachment only as a URL to link to the file on your office server. This takes up only about 2K storage space for the URL link in CRM. It will open the document direct from the link entered. There are specific parameters to be met for this but we make this part of our training for users.
    However, the effectiveness of this depends on users only linking files that will open readily from your LAN server. Of course, network access to the folder structure must be developed for the appropriate rights for the CRM users.
    If you have a virtual private network connecting office LANs in various locations, then, if your networks are standardised, you can set up a distributed file system with standardised folder structure (again with no spaces) but might want to advise users to add URLs for files no larger than, say, 500K, or there could be some delay in opening documents across the VPN, depending on the speed/capacity of your VPN connections. So technically we are not "limiting" size, just training users to know what not to do.
    As admin in an international organisation, I ask (train) any users, who want to refer to files which are very large, to enter the basic details in a Note on the record - giving name of document, size, who to contact for a copy to be emailed, brief summary of content etc. Then other users can request a copy of the file by email, either by setting a task for the file owner or sending an email.
    Not sure if this can help in your situation, but it works well for us.
    Robyn

  • How to set Size for Player

    Hi All,
    Please tell me how to set a size for Player ??
    Here is my implementation...
    //Creating MediaLocator
    mrl = new MediaLocator("vfw://0");
    //creating DataSource
    ds = createDataSource(mrl);
    //creating Realized Player
    player = createRealizedPlayer(ds);
    and i'm getting the player's visual and assigning into one Component..
    when adding the Component into a JFrame it is not with fixed size ??
    I want to know, it is possible to set the size for the Player ?
    Thanks in Advance,
    Karthikeyan R

    James,
    Sorry, I should have read your request more thoroughly. You said you want to make a select list like a multi select. Why do you want to do this? There are various tools used in web development for various reasons and sticking to those standards makes using your application easier for end users.
    Why not just use a select list, Popup LOV, or radio button to present the options?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur
    You can reward this reply by marking it as either Helpful or Correct ;-)

Maybe you are looking for

  • Is it Possible to 'Re-view' a Report?

    I see the ease of 'Re-running' something in the history, but can I 'Re-view' a report or result for which the result window was closed. Thanks.

  • Unable to enable "Fast Web View" in an existing PDF/A file.

    I have a pre-existing PDF/A file that I'd like to optimize for web publishing (i.e. enable "Fast Web View").  I have done this kind of conversion in the past using Adobe Acrobat Professional 9.0 and X but whenever I attempt to do so for this particul

  • Duplex not recognised when sharing HP 7210 All-in-one using Remote Desktop

    The HP 7210 is installed on a Windows 8/64 PC called Harmony. Duplex unit is correctly detected and a logged on Harmony user can print duplex. MSTSC is set up with printer sharing and a connection toa remote Windows 7/64 PC called Gerald. A user logg

  • Selecting on a Max Count of rows

    I would like some advice on the following SQL. I am trying to select the max(count(*)) of a selct count(*). (if you know what I mean??) select district_id from (      -- retrieve a list of districts, plus the count of employee related records      se

  • Its not possible to change outlook standard template

    this seems to be a really easy question.. how do i change the standard-Outlook template ? I have tried to update the Tab spacing default from 0.5 to 0.25 but when I close it, it looses the setting!!! What I have tried already: 1. I have opened a new