You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Alessandro Suglia <al...@yahoo.com.INVALID> on 2014/07/03 22:48:18 UTC

JVM SIGSEGV while retrieving and storing properties from DBpedia

Good evening,
I'm trying to run a simple program whose aim is to save in a TDB index 
some properties that I've downloaded from the DBpedia endpoint. After 
some hours of operations I receive a SIGSEGV from the JVM on my 
archlinux x64 workstation. Have you ever got something similar? Maybe 
could it depends from the heap's maximum size of the JVM?
This is the log of the execution, I hope that could help: 
http://codepad.org/ZUzYcXBR

Thank you in advance,
Alessandro Suglia

Re: JVM SIGSEGV while retrieving and storing properties from DBpedia

Posted by Andy Seaborne <an...@apache.org>.
On 04/07/14 10:50, Alessandro Suglia wrote:
> Yes I can try to save the properties again and see what happens.
> I've thought that the JVM hasn't enough memory to manage everything and
> for this reason arise that exception (Maybe this is a really stupid
> thing, but it's the first one that seems reasonable to me). I really
> don't know why this happens and for this reason I've asked here.

You get OutOfMemoryException if the heap runs out.  SIGSEGV should never 
happen.

You are running "compressed oops" which, IIRC, is usually a heap between 
4G and 32G.

> Is there some kind of situation that should you suggest to avoid when I
> do this kind of operations? Maybe following your tips I can avoid the
> problem that I have.

It also says

JVM_handle_linux_signal

I don't know whether that means a SEGV during signal handling or that 
the signal handler was invoked because of SEGV.

	Andy

>
> Alessandro Suglia
> On 07/04/14 11:45, Andy Seaborne wrote:
>> On 03/07/14 21:48, Alessandro Suglia wrote:
>>> Good evening,
>>> I'm trying to run a simple program whose aim is to save in a TDB index
>>> some properties that I've downloaded from the DBpedia endpoint. After
>>> some hours of operations I receive a SIGSEGV from the JVM on my
>>> archlinux x64 workstation. Have you ever got something similar? Maybe
>>> could it depends from the heap's maximum size of the JVM?
>>> This is the log of the execution, I hope that could help:
>>> http://codepad.org/ZUzYcXBR
>>>
>>> Thank you in advance,
>>> Alessandro Suglia
>>
>> Alessandro,
>>
>> This hasn't happened to me. Google/stackoveflow didn't immediate show
>> a similar situation though there is a long record of a few of
>> SIGSEGV/JVM_handle_linux_signal from time to time.
>>
>> (I got a 500 out of Google just searching for that!)
>>
>> Is it repeatable?
>> If is, maybe a different JVM.
>>
>> If the JVM itself is crashing, then it's not Jena (no native code -
>> through obviously we might trigger some).
>>
>>     Andy
>>
>


Re: JVM SIGSEGV while retrieving and storing properties from DBpedia

Posted by Alessandro Suglia <al...@yahoo.com.INVALID>.
Yes I can try to save the properties again and see what happens.
I've thought that the JVM hasn't enough memory to manage everything and 
for this reason arise that exception (Maybe this is a really stupid 
thing, but it's the first one that seems reasonable to me). I really 
don't know why this happens and for this reason I've asked here.

Is there some kind of situation that should you suggest to avoid when I 
do this kind of operations? Maybe following your tips I can avoid the 
problem that I have.

Alessandro Suglia
On 07/04/14 11:45, Andy Seaborne wrote:
> On 03/07/14 21:48, Alessandro Suglia wrote:
>> Good evening,
>> I'm trying to run a simple program whose aim is to save in a TDB index
>> some properties that I've downloaded from the DBpedia endpoint. After
>> some hours of operations I receive a SIGSEGV from the JVM on my
>> archlinux x64 workstation. Have you ever got something similar? Maybe
>> could it depends from the heap's maximum size of the JVM?
>> This is the log of the execution, I hope that could help:
>> http://codepad.org/ZUzYcXBR
>>
>> Thank you in advance,
>> Alessandro Suglia
>
> Alessandro,
>
> This hasn't happened to me. Google/stackoveflow didn't immediate show 
> a similar situation though there is a long record of a few of 
> SIGSEGV/JVM_handle_linux_signal from time to time.
>
> (I got a 500 out of Google just searching for that!)
>
> Is it repeatable?
> If is, maybe a different JVM.
>
> If the JVM itself is crashing, then it's not Jena (no native code - 
> through obviously we might trigger some).
>
>     Andy
>


Re: JVM SIGSEGV while retrieving and storing properties from DBpedia

Posted by Andy Seaborne <an...@apache.org>.
On 03/07/14 21:48, Alessandro Suglia wrote:
> Good evening,
> I'm trying to run a simple program whose aim is to save in a TDB index
> some properties that I've downloaded from the DBpedia endpoint. After
> some hours of operations I receive a SIGSEGV from the JVM on my
> archlinux x64 workstation. Have you ever got something similar? Maybe
> could it depends from the heap's maximum size of the JVM?
> This is the log of the execution, I hope that could help:
> http://codepad.org/ZUzYcXBR
>
> Thank you in advance,
> Alessandro Suglia

Alessandro,

This hasn't happened to me. Google/stackoveflow didn't immediate show a 
similar situation though there is a long record of a few of 
SIGSEGV/JVM_handle_linux_signal from time to time.

(I got a 500 out of Google just searching for that!)

Is it repeatable?
If is, maybe a different JVM.

If the JVM itself is crashing, then it's not Jena (no native code - 
through obviously we might trigger some).

	Andy