BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

what is the cause of "OutOfMemoryError vmcid: SUN minor co

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder CORBA/RMI
View previous topic :: View next topic  
Author Message
server
Guest





PostPosted: Mon Feb 07, 2005 10:33 pm    Post subject: what is the cause of "OutOfMemoryError vmcid: SUN minor co Reply with quote



message unavailable
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Mon Feb 07, 2005 10:33 pm    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote



SH wrote:

Quote:
This does happen immediately on startup. I tried it :-Xmx512m this
morning, and I still got the same error message. (I have win2000, I
max out on 516 MB, and no other apps are running). what went wrong
here? 512m is quite a lot for object references already.

Agreed, it's a lot, but try increasing it to 1024m and see what
happens. If you still blow up, it's possible that there's an endless
loop on startup that is consuming memory (don't worry if the 1024m
exceeds your physical RAM as it will page to disk if necessary).

--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
SH
Guest





PostPosted: Mon Feb 07, 2005 11:38 pm    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote



Quote:
Agreed, it's a lot, but try increasing it to 1024m and see what
happens. If you still blow up, it's possible that there's an endless
loop on startup that is consuming memory (don't worry if the 1024m
exceeds your physical RAM as it will page to disk if necessary).

Kevin,

you were right on memory error. With your suggestion, I got rid of
'outofmemoryError'. now I got this:
systemException : org.omg.CORBA.INTERNAL:
com.sun.corba.se.internal.core.NoSuchServiceContext: InputStream constructor
threw exception org.omg.CORBA .MARSHAL: underflow called with grow strategy
vmcid: SUN minor code: 202 completed: No vmcid: SUN minor code: 234
completed: Maybe.

I did the same call in c++, and it worked out fine. it seems my
orb(default java IDL impl) is having problem with marshalling pararmeters.

thanks again
SH.
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Tue Feb 08, 2005 2:56 am    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote

SH wrote:

Quote:
you were right on memory error. With your suggestion, I got rid of
'outofmemoryError'. now I got this:
systemException : org.omg.CORBA.INTERNAL:
com.sun.corba.se.internal.core.NoSuchServiceContext: InputStream
constructor threw exception org.omg.CORBA .MARSHAL: underflow called
with grow strategy vmcid: SUN minor code: 202 completed: No vmcid:
SUN minor code: 234 completed: Maybe.


I'm afraid that at this point I'm unable to help; your problem is, I
think, too detailed for the newsgroups. Your best bet would be to open
a case with Borland Support directly.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
SH
Guest





PostPosted: Sat Feb 12, 2005 3:34 am    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote

After monitoring the tcp/ip traffic, it seems like the JDK Orb isn't
understanding a termination in the data stream. When the resolve is called,
i notice the 'correct' data have received. But the JDK Orb is STILL looking
for some sign of termination.(which explains why i need to increase the vm
memory, i think). I don't know what signal the JDK orb is looking for, but
after about 15 seconds of trying, systemException is thrown.

since this involves sun's Jdk, and on the server side, it uses ORBExpress
ORB, and MICO name server. i am not sure how keen Borland(by opening a case)
is going to help me. so, my question here to everyone is :

between OrbExpress ORB and MICO name server, who fault is it, for not
passing out the right termination that JDK can understand.?

or is there an interopability problem in between iiop version 1.0, 1.1 and
1.2(it seems ORBExpress ORB uses 1.0, MICO uses 1.2, and sun's jdk uses
1.1)?

any help or comments are appreciated.

SH.

"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote in message
news:xn0dy864hkttht000-kdean (AT) www (DOT) teamb.com...
Quote:
SH wrote:

you were right on memory error. With your suggestion, I got rid of
'outofmemoryError'. now I got this:
systemException : org.omg.CORBA.INTERNAL:
com.sun.corba.se.internal.core.NoSuchServiceContext: InputStream
constructor threw exception org.omg.CORBA .MARSHAL: underflow called
with grow strategy vmcid: SUN minor code: 202 completed: No vmcid:
SUN minor code: 234 completed: Maybe.


I'm afraid that at this point I'm unable to help; your problem is, I
think, too detailed for the newsgroups. Your best bet would be to open
a case with Borland Support directly.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
David Orriss, Jr. [TeamB]
Guest





PostPosted: Thu Feb 17, 2005 3:30 am    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote

SH wrote:

Quote:
or is there an interopability problem in between iiop version 1.0,
1.1 and 1.2(it seems ORBExpress ORB uses 1.0, MICO uses 1.2, and
sun's jdk uses 1.1)?

I think you just pegged it. My recollection about IIOP between
platforms is they all need to use the same IIOP version - even in the
newer ORBs that use POAs. Mixing them can lead problems and is
hit-or-miss at best.

--
David Orriss Jr. *TeamB*
http://www.davenet.net/
* Please limit all responses to the newsgroups. Thanks! *
Got a JBuilder website? Join the JBuilder Netring! Check out
http://www.davenet.net/jbwebring/jbwebring.htm for more information!

My blog: http://mywebpages.comcast.net/daorriss/

Save yourself some time and check these sites:

Borland Newsgroup Search:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's Faq-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Back to top
SH
Guest





PostPosted: Sat Feb 19, 2005 8:56 am    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote

Quote:
I think you just pegged it. My recollection about IIOP between
platforms is they all need to use the same IIOP version - even in the
newer ORBs that use POAs. Mixing them can lead problems and is
hit-or-miss at best.

well, just want to put an end to this story. i abandoned sun's orb, and went
with orbexpress' orb. everything works perfectly......happy end :-)

thanks for your comment.

SH
Back to top
David Orriss, Jr. [TeamB]
Guest





PostPosted: Tue Feb 22, 2005 10:58 pm    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote

SH wrote:

Quote:
well, just want to put an end to this story. i abandoned sun's orb,
and went with orbexpress' orb. everything works perfectly......happy
end :-)

thanks for your comment.

Thanks for letting us know.

--
David Orriss Jr. *TeamB*
http://www.davenet.net/
* Please limit all responses to the newsgroups. Thanks! *
Got a JBuilder website? Join the JBuilder Netring! Check out
http://www.davenet.net/jbwebring/jbwebring.htm for more information!

My blog: http://mywebpages.comcast.net/daorriss/

Save yourself some time and check these sites:

Borland Newsgroup Search:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's Faq-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Back to top
SH
Guest





PostPosted: Thu Feb 24, 2005 3:01 am    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote

also, your visibroker works fine as well. instead of going with orbexpress,
we probably upgrade our 05 developer version to enterprise. since. we are on
the subject, i would like to ask you couple question on enterprise trial
version.

To configure an ORB for use with Jbuilder enterprise. I did it through the
'traditional' way (Project->Project Properties->Pahts->required
libraries->vbjorb.jar). but it seems to me the 'right' way to do it is going
through enterprise setup(highlight corba, visibroker on drop down, and
edit). on the edit configuration page, path for orb tools is the directory
that contains the osagent.exe file. the library for projects is the Borland
enterprise server 5.2.1 client library, which i can not find. did i do
anything wrong, or something missing in trial version?

also, what is the difference between the 'traditional' way to configure the
Orb and the enterprise setup.

as always, any comments are appreciated.

thanks

SH.

"David Orriss, Jr. [TeamB]" <jbuilder_man (AT) davenet (DOT) net> wrote in message
news:xn0dysxn22od3n000 (AT) forums (DOT) borland.com...
Quote:
SH wrote:

well, just want to put an end to this story. i abandoned sun's orb,
and went with orbexpress' orb. everything works perfectly......happy
end :-)

thanks for your comment.

Thanks for letting us know.

--
David Orriss Jr. *TeamB*
http://www.davenet.net/
* Please limit all responses to the newsgroups. Thanks! *
Got a JBuilder website? Join the JBuilder Netring! Check out
http://www.davenet.net/jbwebring/jbwebring.htm for more information!

My blog: http://mywebpages.comcast.net/daorriss/

Save yourself some time and check these sites:

Borland Newsgroup Search:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's Faq-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Thu Feb 24, 2005 6:27 am    Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino Reply with quote

SH wrote:

Quote:
also, your visibroker works fine as well. instead of going with
orbexpress, we probably upgrade our 05 developer version to
enterprise. since. we are on the subject, i would like to ask you
couple question on enterprise trial version.

To configure an ORB for use with Jbuilder enterprise. I did it
through the 'traditional' way (Project->Project
Properties->Pahts->required libraries->vbjorb.jar). but it seems to
me the 'right' way to do it is going through enterprise
setup(highlight corba, visibroker on drop down, and edit). on the
edit configuration page, path for orb tools is the directory that
contains the osagent.exe file. the library for projects is the
Borland enterprise server 5.2.1 client library, which i can not find.
did i do anything wrong, or something missing in trial version?

also, what is the difference between the 'traditional' way to
configure the Orb and the enterprise setup.


Your best bet is to go through "Enterprise | Configure servers..." and
configure BES 5.2.1. That will automatically create the VisiBroker ORB
configuration for you.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder CORBA/RMI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.