Is there a way to free up memory in Solaris

Hi,
I am wondering if there is a way to free up memory in Solaris manually ? the way we can do it in Linux for example :
[xml]echo `/bin/date` "************* Memory Info Before *************"
free -m
sync
echo 1 > /proc/sys/vm/drop_caches
echo 2 > /proc/sys/vm/drop_caches
echo 3 > /proc/sys/vm/drop_caches
echo `/bin/date` "************* Memory Info After *************"
free -m[xml]
Thanks.
Regards
Terry

Hi,
I have two Solaris 11 VMs with Oracle Clusterware running on VBox, both of them with 4GiB RAM, problem is they get slower and slower and then all of a suden one of them gets crashed, it happens so frequently that I just cannot work, increasing RAM is out of question, previously I was running the same setup on Oracle Linux 5 and I was able to tweak the memory using the above script and never got a crash.
I need to find a way to tune the memory in solaris so the VMs can stay up and I can do the work.
Here are the mem stats from one of the server, this will give you an idea as to whats happening and you may be able to suggest me a way to tune them.
Just to let you know I am very new in Solaris so every bit of information will be very helpful to get this problem resolved.
echo ::memstat | mdb -k
Page Summary                Pages                MB  %Tot
Kernel                     202104               789   19%
ZFS File Data                9039                35    1%
Anon                       750232              2930   72%
Exec and libs               34059               133    3%
Page cache                  36889               144    4%
Free (cachelist)             6119                23    1%
Free (freelist)             10021                39    1%
Total                     1048463              4095Please have a look at above stats and suggest me what to do.
Thank you very much for your assistance !
Regards
Terry

Similar Messages

  • Is there a way to create more memory on iphone 4s??

    Is there a way to create more memory on iphone 4s??

    You will need to delete some stuff unfortunately.
    FWIW, I've asked the hosts to remove your duplicate post - it makes things to confusing to double post within minutes.

  • What is the best way to free up memory easily?

    what is the best way to free up memory easily? I have a fairly typical makeup of iTunes music, iMovie, iPhoto files, which is best to attack?
    Thanks

    If you're talking Hard Drive space, you'll want to start just by deleting the largest of files. Try removing movies first, as they're usually in the Gigs of data, since they contain video and audio. If you're storing original photos those can be as large as 8mb/each photo, and if you've taken hundreds, they add up quickly. Try saving them as smaller sizes, or deleting unwanted photos, and lastly, songs do take up space, but depending on the quality, duration and file type will be anywhere from 30kb to 10mb.
    Try removing some unneccesary applications too! Please let me know if I solved your question by using the buttons below, or reply to this thread if you need additional assistance.

  • Is there  a way to access total memory used by java instance?

    is there a way to access total memory used by java instance?
    i'm familiar with
    runtime.getTotalMemory() and runtime.getFreeMemory();
    and i understrnad that it is a measure of the amount of memory available for the heap used to allocate objects and the amount of memory not being used by the object heap --
    but is there a way to (from java get the value that you get when you go to the windows taskmanager and look at javavm.exe
    stephen

    i'm using java 1.4 if that helps

  • Is there any way to plug a memory stick into an iMac

    Is there any way to plug a memory stick into an iMac

    When you say "Memory Stick" I interpret that to mean a Sony Memory Stick from a Digital Camera or other Sony device. If that is correct yes you can plug it in, you need a USB Memory Stick card adapter like this one from Amazon

  • Is there a way to free up space without sync?

    I'm currently traveling and therefore unable to sync to my desktop as I normally do. While on the road I've taken a few photos, etc., and now find I'm running out of space. Subsequently, I've deleted a couple of large apps I never use, and several old photos I know I have stored, but my iPhone is still showing as full. Apparently, the files I've deleted aren't really gone until I sync? It will be some time until I'm home again and able to access my desktop. Is there a way to free up space without a sync, or am I stuck with a full phone until I return?

    You can import the photos taken with the iPhone to another computer as long as you
    TURN OFF auto-sync on the other computer first. Then delete them and that should free up space for you.
    You would import the photos off the iPhone to the computer just like you would from a digital camera.
    THen burn them to CD/DVD.

  • Is there an easy way to free up memory without deleting important files?

    I am trying to free up memory on my MacBook without deleting important files.  I'm not sure which files I can delete permanently without interfering with the operating system or applications.  Any advice?

    You can delete any document files you've stored in the Documents, Downloads, Movies, Music, Pictures, and Sites folders located within your Home folder.  Or you can replace the hard drive with a larger drive or offload documents to an external storage drive then delete from the internal drive.

  • Is there a way to dynamically allocate memory in labview?

    In the C programming language, there are malloc() and free() functions which, combined with pointers, allow the user application to dynamically allocate memory.

    LabVIEW does all of its memory management completely automatically, which is almost always an extermely good thing, and you don't have any real way of controlling it. Normally, memory is reused throughout the application and deallocated when the top level VI is closed. You can use the deallocate VI (in the Advanced pallete) to force a deallocation, but this will only help if you finished with the subVI.
    The new version 8.0 also includes an option to decide when a subVI will be loaded into memory, which can also help. Normally, real memory problems in LV only occur when you have very large structures because LV needs a contiguous block of memory to hold its data. For most cases, there are various solutions available.
    Do you have any specific problems?
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Is there any way to limit the memory firefox can use?

    once firefox reaches about 150Mb of memory it starts locking up and even if I manage to close it through taskmanager it still does not release the memory it was using.Is there any way to set a limit on how much memory firefox can use and a way of making sure it releases it again when shut.I run a dual core 1.8Gb cpu 2 Gb of ram and Win xp Pro service pack 3

    See:
    * http://kb.mozillazine.org/browser.sessionstore.max_windows_undo
    * http://kb.mozillazine.org/browser.sessionstore.max_tabs_undo

  • What is the best way to free up memory?

    Obviously emptying trash. But I have a couple large iMovie files -- from when I was assembling the movie, which is now complete and in a separate iTunes folder. I'm uncertain what will happen if I delete the original, which takes up a massive amount of space.

    memory or storage
    memory is mostly used when one are speaking about the working memory as how much Ram the computer has this of this as the kitchen table
    storage on the other hand is where data is stored think of this as the fridge
    if one wish to free up memory then one look in the dock and right click on the apps with a white dot under the icon they are programs running in the background taking up memory and choosing quit in the context menu
    if one wish to free storage one can uninstall big programs one does not need or delete as you say some movies or install packets in download or the likes

  • Is there a way (or free tool/plug-in) to create a playlist from a folder?

    Thanks for reading.
    I waste a lot of time creating playlists for mp3s that are already in separate folders, sorted the way I want them to appear in the playlist.
    Is it possible to simply drag or otherwise move folders to iTunes (latest version) and have them appear as playlists? When moving audio lessons to the iPod it is very time consuming.

    +Why do you have 300 playlists?+
    Because I have audio lessons, sets of mp3s that belong together (one playlist each).
    +There's no need for playlists for each album or artist.+
    +You can already select individual albums or artists.+
    Not music, doesn't apply here.
    +Just drag the folder to the word Playlist. iTunes will create a new playlist with the folder name and add the contents of that folder to this new playlist.+
    +No need to make a playlist first.+
    That's true, though I still need the script. Because if I drag more than one folder at a time (otherwise too time consuming) they will all be dropped into one playlist, with the name of the first folder.
    No problem though, the srcipts work great.

  • Is there a way to disable interrupts for a Solaris 9/ sun OS 5.9 machine

    I am trying to figure out if there is a way to disable interrupts in solaris 9 on a sun 5.9 sparc9 machine, while under lock. I don't want the process to get bumped under lock. I have been looking for a way to do it and have come up empty handed. Am I just missing something? -Thanks

    Thanks for the response, I understand that using real time scheduling I can still be preempted. I also understand how to solve my problem on a multiple CPU machine. Unfortunately I only have that luxery on part of the system. There is a part of the system, 7% of the processes, that run on a single cpu machine. This is a customer requirement, I can't change it. What I want to do is possibly take advantage of the priority inheritance features of the mutex locks, however, I believe this needs to be enacted as root, since they need to run real time and it seems that you need to be root to enable the real time features. However, to propose this as an option to solve my issue, I need to show that it works. I have kicked off a process using priocntl with RT and a priority of 11, and I can see them run as real time and in a priority level of 111 using TOP, but when I put code in so I know they are in the mutex portion of the code, I don't see a priority change. I created a mutex with the protect option and a priority ceiling of 5. Does anyone know if this would be reflected anywhere. I tried opening an xterm and using a priocntl -d, but I see priority 11 even when it is in a mutex with a ceiling of 5. I would have expected it to go to five. Just in case I had the levels backwards, I also tried a ceiling of twenty and there still was no change. How can I test the priority inheritance capability? Does anyone know which call would reflect the priority change? I just need to show it does something in order to propose the change at that low of a level in our system code. Thanks again everyone who has tried to help me understand this.

  • HT3406 Is there a way to have more than 6.2 GB memory on my iphone 3gs

    I bought an iPhone 4 and now want to be able to use my old phone as an iPod. Is there any way to free up more than just 6.2 GB?

    I could be wrong, but I thought that feature was one of the announced iOS 6 upgrades. Due this fall.

  • Is there a way to "clean out" my harddrive?

    Pardon my possible 'silly' question but is there a way to make sure everything I have deleted is permanently gone and the disk space is free? I recently deleted 5,000+ high resolution DSLR photos from iphoto [and the folders, etc] in hopes that it would speed up my macbook. it's still running a little slow and I only have 14GB of space left. Is there any way to free any more of it up and do I have to do anything like on a PC where you ahve to do disc cleanup/defrag? Thanks for any help!

    First, how large is your hard disk? You can find this out by choosing Apple > About this Mac > More Info OR by selecting your hard disk and pressing Command + I to bring up the information pane OR by launching Activity Monitor, and choosing "Disk Usage" down at the bottom.
    Secondly, if you deleted the photos by dragging them to the trash and then emptying the trash, the space they were occupying is free. You don't need to do anything else.
    If you're worried about sensitive data still existing on your disk, you can launch Disk Utility and choose "Erase Free Space." Select how many passes you want to use and then let the computer work for a few hours. This will permanently eliminate data from your disk. It will be unrecoverable. Warning: BACK UP YOUR DRIVE before you do this. Some folks have run into problems where erasing free space causes issues. Don't take a chance.
    Note: Erasing free space will NOT increase the amount of free space on your hard disk. It simply makes sure that the data is really, completely, 100% gone.
    Depending on the size of your disk, you may need to upgrade your hard drive. Especially if you plan to continue working with thousands of DSLR images that are most likely in RAW format.

  • Is there a way to "embed" -Xmx command into program

    Hi fellow members,
    I have been working on a program to analyze web page structural similarity and has been posting on this forum for some help recently. At the moment I manage to parse html into DOM tree and perform tree edit distance analysis.
    But I'm facing a problem which is heap memory running out. More complex web pages run up to >1000 nodes and the recursive comparing which has a time complexity of N^2 will cause outofmemory error. I have already reduced the number of nodes such as excluding text nodes as I'm primarily concerned with the structural similarity.
    By using -Xmx to increase the heap memory helps to solve the problem partially. I would prefer to embed this command into the program so that user does not need to type it out every time. Is there a way to do this?
    Thanks in advance.

    I see, thanks a lot guys, I will read up on batch file processing.
    But I'm wondering if I'm going to make it into a .exe file which will include the GUI in the near future, will I still need to write a batch file or any swing component can set the memory?
    One more wild question, is there a way to set heap memory to be dynamic, as in increasing according to the program needs?

Maybe you are looking for

  • Getting the Output Stream of  a Process without exec()ing it first.

    Hi there, I am writing a java application which needs to open another application "gnuplot". Now my operating system is windows and I open pgnuplot . Also I want to send input to the above gnuplot (say plot sin(x) ) via the outputStream. The followin

  • Archive and Install OS X Tiger 10.4.11

    I put my OS X install DVD that came with my iMac two years ago in to run the hardware test. After, I restarted holding down the "C" key as the DVD said to start from Mac OS X (I now realize that it meant to restart from the installer). I selected "Ar

  • Clip Notes + Streaming QuickTime = broken?

    I guess this is more of an AME or Reader issue, but figure that PPro users are the most common users of Clip Notes... I've tried exporting a Clip Notes PDF with streaming QuickTime video from both PPro CS3 + AME, PPro CS4 + AME, and standalone AME CS

  • Non-moving Materials

    Hi guys, is it possible to get non-moving materials for certain material movements report out of oic_c03  since 36 months onwards. Your help is greatly appreciated, Thanks Vijay

  • Can't find Wordsearch.as

    Where is the file WordSearch.as from the example Mouseinput from Wordsearch? Not in the map Samples/Wordsearch at the Adobe website. I downloaded that map: there are two files in: dictionary.txt and WordSearch.mxml