Software :: How To Expand Memory Use For Java

Mar 9, 2011

Ubuntu-10.04-x86_64
3.95 GB RAM
50 GB HARDDRIVE
mysql-server-client
Java version(s): 6.0, 6u10+

I would like to know how to get my java program to use more ram for my clients so they do not encounter lag. This is what I have written up and it works error free, I would like to get it to 3GB ram usage. but when I exchange the number 1 for anything it just errors out on me.
Code:
#!/bin/bash
cd "${0%/*}"; java -Xincgc -Xmx1G -jar craft.jar

View 8 Replies


ADVERTISEMENT

Server :: Java Uses More Than The Allocated Memory?

Aug 18, 2010

I am still confused about the memory issues. i have allocated JAVA_OPTS='-Djava.awt.headless=true -Xms512M -Xmx512M -XX:MaxPermSize=512M' think that it means that i have allocate java to use only 512mb of my memory. but when i run top here is my output.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15932 root 23 0 1495m 1.2g 3732 S 12.0 36.0 121:52.98 java
5070 postgres 15 0 55392 39m 35m R 11.6 1.2 0:51.61 postmaster

[code]....

View 6 Replies View Related

Debian Programming :: Memory Usage When Running Java Program

Jun 28, 2013

I have a java program that runs on Debian as a background processor. Yesterday the Java program stopped running. I looked at the memory usage, the system only had 5MB memory left, so my guess is that the java program ran out of memory to use.

However, after we restarted the java program, we could see that the free memory count started to go up. It kept going up from 5MB to over 400MB. The increase of memory happened slowly, when I measured it, I could see that with each minute passing by, there were a bit more memory added into the free memory pool, and meanwhile, the java background process was running.

I wonder why this would ever happen. It's as if our java program first brought the machine done because it consumed all the memories, then after restart, it starts to give back memories.

View 2 Replies View Related

Red Hat / Fedora :: Java Memory Error / Xms256m -Xmx1024m Not Working?

Apr 6, 2011

I am using Centos, in that i am executing normal stand alone java programs. Some time i am getting "java.lang.outofmemory heap space" error. how to increase the heap size. I tried with the command java -Xms256m -Xmx1024m but its not working for me.

View 6 Replies View Related

General :: Java Process Without Memory Detail In Proc File System?

May 13, 2010

To get the kernel messages of new java process, i refer the details from /proc/<java pid>/stat and /proc/<java pid>/statm files. For some java processes, I didn't find any details in the /proc/<java pid>/statm file. It has only 7 number of 0s. But /proc/<java pid>/stat file has the details. And also this kind of process will have the life time of nearly 1 minute.

Kernel version using: Linux-2.6.18-8.1.8.el5 Is there any possibility of java process without the memory details in the /proc/<java pid>/statm file? If it is possible, how to know the memory related details of that processes?

View 1 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found

View 4 Replies View Related

Ubuntu :: 10.04 - Using Pen Drive To Expand RAM

May 2, 2010

Is it possible to use a pen drive to expand the amount of ram you have? In Lucid 10.04 LTS.

View 1 Replies View Related

Ubuntu :: How To Expand Partitions

Dec 18, 2010

I want resize my partitions, i need more space for ubuntu, i already have 58gbs of free space, but i dont know how i can expand my partitions, i have tried "GParted Partition Tool", but it won't allow me to do it. The only other thing i can think of is re-installing ubuntu, and if i have to reinstall it how can i retain my settings and programs that i have installed?

View 6 Replies View Related

General :: How To Expand Who Command?

Aug 27, 2010

When I do the who command it doesn't show all my info.

View 7 Replies View Related

Fedora :: Expand The Size Of A Partition?

Aug 29, 2011

When partitioning disk devices for F14 on my new x86-64 box, I allocated 100G for / mounted on /dev/sda1. It's now 100% full. I have 365G free space available on the disk. Can I somehow extend /dev/sda1 to use some of this free space?

View 7 Replies View Related

Ubuntu :: How To Expand And Merge Partitions

Apr 14, 2010

I've got a 500gb hard drive.
-sda1 is 400gb (ubuntu 9.10/32bit/ext3)
-sda2 is 50gb (ubuntu 10.04/64bit/ext4)

I would like to expand my lucid partition now and eventually get rid of my 9.10 partition. I've got an 80GB virtualbox file sitting on sda1 that I need and want to expand sda2 now so I can first copy the VB file over, then expand sda2 completely. I just finished creating sda3 ext4, but cant figure out how to merge it with sda2 (well really sda6). Please see image. [URL]

View 1 Replies View Related

Ubuntu :: How To Expand NTFS Partition

Apr 27, 2010

I need to expand my ntfs and have ample GB, all taken up presently so if I create some unallocated GB's under ntfs how do I expand the ntfs partition. I have gparted live CD.

View 1 Replies View Related

Ubuntu :: How To Expand Storage Space

Apr 28, 2010

I created a dual boot on my computer with windows vista and ubuntu using the wubi ubuntu installer for windows, and my ubuntu boot is limited to 15gb of hard drive space. My hard drive in actuality has about 150gb left on it. How do I expand the amount of storage ubuntu is allowed to use?

View 6 Replies View Related

Ubuntu :: How To Delete Windows 7 And Expand ?

May 23, 2011

I have decided that Windows 7 is something that belongs MAYBE in a virtual machine and that I have no use for it. Therefore, I want to recover the 130 gigs it takes on my hard drive and add that to my Ubuntu partition.

Here is the output of fdisk -lu:

Code:

View 5 Replies View Related

Red Hat / Fedora :: Expand A Xen Disk Image?

Apr 15, 2011

I need to expand a 15GB xen disk ".img" to 50GB, it's got centos as the guest O/S.

I've been googling and there are alot of results but I'm still having trouble.

I don't remember if I used the default LVM partition scheme or if I did a FS. In fdisk it says linux partition but that's it.

I did the dd and cat method but fsck is complaining like usual.

I dd a file called tempfile and the append it using cat tempfile >> my.img then did resize2fs -f but it error out with "Bad Magic number on super block."

View 2 Replies View Related

General :: How To Safely Expand Swap

Feb 18, 2010

How to safely expand swap?

View 1 Replies View Related

Hardware :: Expand SATA Storage With SAS?

Jul 11, 2011

i have a small home server that i would like to add some disks to it. ideally 4 sata2 disks.

i have been reading about SAS controller that can be installed on PCI-E connection on the motherboards.

but i am not sure how these actually work.

how i can use these? i have tried searching for it. but i get loads of selling material which does not really clarify much.

how these SAS connect to sata2 disks - do i need some adapter?

View 4 Replies View Related

General :: How To Expand A Partition Size?

Jul 20, 2010

How to expand a partition size for which it was fixed.

View 2 Replies View Related

Server :: How To Expand Hard Drive With New One?

Oct 27, 2009

I have a linux box that I'm using as a ADSL router (slack 12.1).Until recently I had two hard drives in it, one for linux, and one for storing movies, music, etc.So, I have just bought another 1,5 TB disk. My plan was to add it to the same mount location: /opt/abram to expand my storage disk, only to come to conclusion that this can't be done. OK, it actually makes sense, if I thought about it I would realise it before. Anyway, what else can I do? Is there a way to add new drive to existing one in a way that would result in one 2,5 TB drive?

I tried it with mdadm, but as it turns out, it's impossible to crate RAID 0 without loosing all the data on sda1 disc.Also, it would be very cool if I could find a solution that would enable me to one day add a new drive to further expend my storage.I'm aware that I could mount my new disk to, let's say /opt/abram/Divx, or /opt/abram/mp3, but that's not the solution I'm looking for.

View 5 Replies View Related

CentOS 5 :: Expand RAID 5 Volume With LVM?

Jul 7, 2009

I have expanded a HP array by 500GB but am struggling to get Centos (Xenserver installation) to see it.

From the array controller the size of the disk is 1.4TB

Logical Drive: 2
Size: 1.4 TB
Fault Tolerance: RAID 5
Heads: 255

[Code].....

how I get LVM to see the whole disk that is now available (without destoying daya).

View 4 Replies View Related

Debian :: How To Expand / Enlarge Trash Folder

Jan 22, 2011

Trying to refresh my diseased memory & tell me how to expand/enlarge trash folder?

View 6 Replies View Related

Ubuntu :: Can I Expand My Volume For More Precise Changing

Apr 24, 2010

I want to edit my volume meter so that way i can change my volume but be more precise about it. I mean if i slightly slide my finger a little bit it goes from to mute to all the way up. (I have a touchpad buttons)

View 2 Replies View Related

Ubuntu :: Disk Utility - Expand Array

Aug 31, 2010

When I use disk utility to expand my RAID array it creates a partition on my 1.5TB drive which it would like to add to the RAID 5.

However, none of the drive existing on the RAID are partitioned so what I think has happened is the partition itself has created a difference of about 2 million bytes smaller than the others and thus unable to add the component.

How can I specify the exact bytes for my hard drive partition so that I can add this to the array?

View 2 Replies View Related

Ubuntu :: How To Expand The Size Of /home After Install

Sep 24, 2010

I have been using ubuntu for about a year now. Since then one main thing have evaded me: how to increase the size of /home without reinstalling the OS. I tried to change the size from the default 200mb once while installing and it ended up messing up my hard drive, so I decided not to do it this time around because I have important stuffs on it.

View 9 Replies View Related

Ubuntu :: Close / Minimize / Expand Buttons All Gone

Aug 1, 2011

I have just gotten back into Ubuntu and installed 11.04. However I happen to see alot of issues with this. Trying to run compiz and all bejesus is breaking loose on me here. The biggest frustrating one is this new desktop, after searching I found how to go back to old school way I use to use it.So, now I get into this desktop, start compiz after the other desktop totally barfed on me, this one is doing the same as well.I lost all of my little boxs at top to close minimize and expand the windows.

Seriously, they took something and turned it into this just so ppl quit complaining about moving from windows to this. I for one dont like it and it doesnt work right with nothing,(Sounds like windows ughh) very hard to navigate, where you think one thing is suppose to be and they totally moved it, took me half of yesterday to get my wifi working but only after I went back to old desktop, video wasnt working properly, only after I went back to old desktop.

View 3 Replies View Related

Ubuntu :: Close, Minimize And Expand Icons Gone?

Aug 14, 2011

i don't know what i did but the minimize exit and expand buttons that are usually on the top left or right of windows just dissapeared, it's getting really irritating =/ Anyway to restore them?

View 2 Replies View Related

CentOS 5 Server :: LVM - VDisk Did Not Expand On Host

Jun 13, 2011

I have a P2000 array from HP. What I did try to do was to expand vdisk and corresponding volume. After expanding finished i saw it expanded on management tool for array but it did not expand on host. I tried to rescan devices using pvcsan, rescan-scsi-bus.sh and so on. I tried to restart the host and it did not help neither. It's two node cluster with clustered lvm volume group which is causing the problems.

View 5 Replies View Related

General :: Application Virtual Address Space Memory Allocation - Memory Does Not Get Free

Apr 20, 2010

I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)

View 4 Replies View Related

Fedora Hardware :: Checking Computer Memory - Specification Shows 2 GB Of Memory Instead Of GB

Feb 7, 2011

Fedora 14 xfce
HP Mini 210

I am looking to buy some memory for my netbook. Currently I have 1 GB of DDR3 memory. However, the specification says that 2 GB of memory is the max. However, when I do the following it says that 4GB is the max:

[Code].....

View 3 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved