GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Operating System
Go To First  |  Previous Question  |  Next Question 
 Operating System  |  Question 24 of 82    Print  
What is the maximum size of heap and stack that can be allocated for thread?

  
Total Answers and Comments: 1 Last Update: August 12, 2006     Asked by: surya 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 12, 2006 14:01:21   #1  
k.o        

RE: what is the maximum size of heap and stack that ca...
Tha allocattion of memory is done at runtime by the JVM. memory on the heap is allocated to each object and onthe stack to the local variables. so while a thread runs it only uses as much space as the objects it creates.... the limit depends o n how much memory JVM has. I dont think space is allocated to the thread as a whole. only to objects and primitives.If the JVM runs opt of heap space it throws a java out of memory error.
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Tha allocattion of memory is done at runtime, by the JVM. memory on the heap is allocated to each object , and onthe stack to the local variables. so while a thread runs, it only uses as much space as the objects it creates.... the limit depends o n how ...
Read Answers (1) | Asked by : surya

Latest Answer : If it is about scheduling processes nice value comes into picture but when you are talking about threads (LWP) nice value cannot be used. There are APIs to set the thread priorities to affect scheduling. ...
Read Answers (2) | Asked by : surya

What is the structure of file system.At the time when we create a partition how the blocks are allocated.
Read Answers (1) | Asked by : vigremrajesh

Latest Answer : Thread:Thread is separate path of excution which R functionally indepedent of each other.Process: A program in excution is called process.Task: In ptrogram contains tasks.Each task is nothing but job. ...
Read Answers (1) | Asked by : priya

Latest Answer : The possiblities of Deadlock are Mutual Exclusion,hold &wait,No preemption and Circularwait ...
Read Answers (1) | Asked by : nag203


 Sponsored Links

 
Related Articles

How to call C header that is not provided generally by system in C++?

Headers can be called by using extern C Syntax of extern C is: extern "C" <function declaration> for example to call C functions from C++ we can write extern "C" { <function declaration> <function declaration> ...
 

System Implementation

In the previous articles relating to SDLC Stages we discussed about Project Planning and Feasibility Study moved on to System Analysis and Requirements which lead to Systems Design. Systems Design will naturally lead to another stage where it becomes closer to the actual deployment of the p
 

System Analysis and Requirements

In the previous chapter, we’ve discussed about project planning and feasibility study. That stage was important because it tries to establish a problem in our highly technological world. As our understanding on what we can do in computers evolve and so are the things that we need to make t
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Operating Systems and IT Certification

With the burst of information technology that is becoming a part of the dominant culture throughout the world, are programs that are designed to help those in this area to grow in knowledge.  By understanding the different technologies that are available, one is able to use them and impleme
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

How To Determine If Your CRM System Will Fail

How To Determine If Your CRM System Will Fail One of the primary reasons why many CRM systems fail is because of the quality of the data Even if you are using a high end CRM system your company will have no chance of success if it is processing data that is incorrect or faulty Fortunately data quali
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape