I'm not sure if this applies on your platform/OS, but what I did this on 
z/OS (mainframe operating system) and had to specify environment 
variable BPX_SPAWN=false, or something like that.  What that does is 
force it to run the executable in its own address space versus a task 
within the address space.  There's only so much addressable memory 
within an address space.  On z/OS, that also gave it some independence 
from the creating process.  Is Runtime.exec more appropriate, since you 
wanted independence?

Best,
Ben

Ido Ginodi wrote:
> Hi,
> I am trying to run an executable from within java. I have tried the
> regular technique of creating a Process object, and the problem is
> that the external I am trying to rum is heavy in terms of memory, so
> it is never loaded properly.
>
> do you know a way to run an external exe, in a way that it will be
> independent of the invoking process?
>
> Cheers,
> Ido
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to