Skip to main content

Problem:

Are there any limits on a size of the object that can be passed in a method?

If there are limits, can they be tweaked through the configuration changes?

For example: If a situation arises where client invokes a method on EJB and one of the parameters that are passed to this method is a very large object, can be more than 50Mb, the client fails to serialize it (sometimes crashes and sometimes enters an infinite loop trying to serialize it).

Resolution:

  • Product Name: Application server
  • Product Version: N/A
  • Product Component: EJB container
  • Platform/OS Version: N/A

As such there is no defined limit size of an object that can be passed in a method.

Try to enable fragmentation by setting "vbroker.orb.fragmentSize" property so that the extremely large CORBA request can be sliced down into fragments and send separately. 

Please refer to the online VBJ Developer's Guide for more details of this property (as well as "vbroker.orb.streamChunkSize" property).


Another point to take note is that the JVM or machine must be tuned accordingly so that it has sufficient memory to handle the application with high memory usage.


Author: Rajini Billahalli

Old KB# 15326

#VisiBroker
#Security
#ApplicationServer