File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes In Memory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "In Memory" Watch "In Memory" New topic
Author

In Memory

SrinivasaRao Swarna
Greenhorn

Joined: Sep 17, 2006
Posts: 20
Can i know what is in-memeory?
Please guide me
Srinivasan thoyyeti
Ranch Hand

Joined: Feb 15, 2007
Posts: 557
Hi SrinivasaRao Swarna,

Are you devotee of C language?

You can see Runtime class where in will find some methods to see free memory, Total memory.. Like that.

In Java all references act like pointers.
String s = "Hi"; // Here we can't see address of Object
int a[] = new int[10];

In C:
char *s = "Hi"; // Here we can see address of variable
int *a = (int *)malloc(10*sizeof(int));


Thanks & Regards, T.Srinivasan
SCWCD 1.4(89%), SCJP 5.0(75%)
SrinivasaRao Swarna
Greenhorn

Joined: Sep 17, 2006
Posts: 20
HiSrinivasan,

Thank you very much.

Java Virtual Machine have stack and heap memory.here stack have address of objects .I believe stack memory is in-memory.

Thanks&Regards
Srinivas
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: In Memory