 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
server Guest
|
Posted: Mon Feb 07, 2005 10:33 pm Post subject: what is the cause of "OutOfMemoryError vmcid: SUN minor co |
|
|
message unavailable |
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Mon Feb 07, 2005 10:33 pm Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino |
|
|
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
|
Posted: Mon Feb 07, 2005 11:38 pm Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino |
|
|
| 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
|
Posted: Tue Feb 08, 2005 2:56 am Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino |
|
|
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
|
Posted: Sat Feb 12, 2005 3:34 am Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino |
|
|
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
|
|
| Back to top |
|
 |
SH Guest
|
Posted: Sat Feb 19, 2005 8:56 am Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino |
|
|
| 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
|
|
| Back to top |
|
 |
SH Guest
|
Posted: Thu Feb 24, 2005 3:01 am Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino |
|
|
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...
|
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Thu Feb 24, 2005 6:27 am Post subject: Re: what is the cause of "OutOfMemoryError vmcid: SUN mino |
|
|
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 |
|
 |
|
|
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
|
|