473,491 Members | 2,221 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Why java keeps running out of memory

1 New Member
Is there anyway to set a java heap memory to a limit where in case of more users activities it stop users from further activities until extra memory is back.

The following is one of the issue I had:

I used Java for almost over 4 years and honestly speaking it's a faster language than PHP. Most recently in one of my web application (facejar) I came across some issues which are memory exception issues. Each time when hashmap gets filled up the Java section of my app becomes disabled. If memory is filled up the PHP section performs a bit slow but never shuts down whereas the Java section unfortunately shuts down.

Let me know if anyone can solve this issue?

Thanks
Nov 28 '12 #1
0 1682

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5172
by: Kieron Briggs | last post by:
I am trying to run the java VM in a virtual linux webserver environment with WebCentral: http://www.webcentral.com.au/docs/products/display.cgi?id=104&productCategory=Linux%20Servers When I...
1
12936
by: Rittercorp | last post by:
I am debugging an app which blocks many processes in a SQL7 server DB. The app log writes every transaction "open" and "close". The weird thing is : when the app logfile says the transaction is...
1
1975
by: Hennie de Nooijer | last post by:
Hi, I've the following problem. I have a webpage with some frames on it. In one frame i have two buttons "reports" and "Analyis". When Someone pushes reports, a frame must be replaced next to...
11
2081
by: rishi_israni | last post by:
Hi, i am having a strange problem running memory intensive queries on SQL server. I am doing an update on a table with 9 million records from another table with 50 records. the query i am...
1
1116
by: tcbrock | last post by:
I'm running Visual Studio 97 (vc++ 5.0) on Windows XP SP2 and when I run my program from inside the development environment, and then I quit it, it goes back to VC, but sometimes if I hit...
10
19372
by: 123456prakash | last post by:
Hi all , I am new to this . This is my first post . I really need some help from you all members of this forum. My situation is something like this . I am communicating with 2 system .Both the...
2
1355
by: Shao | last post by:
Dear All, I am using Python 2.5 and used py_compile to produce a .pyc file. The script runs well. However, the .pyc keeps running and never stops. Advices will be deeply appreciated. ...
13
3000
by: eternalLearner | last post by:
i am writing an client application that connects to the server and then sends data to server. but, the problem is that i get a java.net.ConnectException: Connection refused error. The code i have...
1
2254
by: Tonia | last post by:
When I click on Play now for my online game Project 69, it tells me "error, click for details" and the screen is all white. It won't let me click. I've tried uninstalling Java and reinstalling it,...
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6978
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4578
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.