XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Kam ChanSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Kam Chan
Date: 11 Jun 2009 10:45 AM
Hi,

I just purchased and installed SS 2009 Release 2, Build 1386e.

I have a small xQuery project created. But whenever I click on the "Preview Results" green arrow, I got a Runtime error dialog box. It said bin\Struzzo.exe, abnormal program termination.

When I click Ok, the whole SS closes.

I am very stuck. Please help.

Kam


Applicationss-error.pdf
Error

Postnext
Ivan PedruzziSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Ivan Pedruzzi
Date: 11 Jun 2009 11:16 AM
Hi Kam,

Please tell us more about your configuration

Stylus Studio Edition?

Which XQuery Processor (see scenario dialog)?

Can you share the query with us?


Ivan Pedruzzi
Stylus Studio Team

Postnext
Kam ChanSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Kam Chan
Date: 11 Jun 2009 11:27 AM
Hi Ivan,

It is the Professional Edition.

It is using the Built-in processor.

The xquery has several files. I don't want to upload to this site. I can probably email them to you, if I have you email address.

Thanks

Kam

Postnext
Ivan PedruzziSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Ivan Pedruzzi
Date: 11 Jun 2009 01:32 PM

Did you try to run it with the Saxon Processor?

Please send us the rilevant files at

stylus-field-report@stylusstudio.com

Thanks!
Ivan Pedruzzi
Stylus Studio Team

Postnext
Kam ChanSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Kam Chan
Date: 11 Jun 2009 02:28 PM
Originally Posted: 11 Jun 2009 02:11 PM
I just tried it with Saxon 9, it ran fine on a smaller XML source. But when I run it with an XML file of about 18MB, I got the "java heap space" error.

I tried to increase the heap space in Tools / Options / Enable JVM / Parameters. I first set it to -mx256m, same error. I then set it to -mx1g, still same problem.

How can I increase the heap space to run this not-so-large XML document?

I will be sending the files to the email address, hope that you can find the problems.

I sent the files to the email address you indicated. But I your mail server rejected it, here is the error:

Diagnostic information for administrators:

Generating server: uxbgate.progress.com

stylus-field-report@stylusstudio.com
[69.20.20.145] #<[69.20.20.145] #5.1.1 SMTP; 550 Requested action not taken: mailbox unavailable> #SMTP#

Postnext
Ivan PedruzziSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Ivan Pedruzzi
Date: 11 Jun 2009 02:33 PM

sorry wrong domain

stylus-field-report@progress.com

Postnext
Kam ChanSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Kam Chan
Date: 11 Jun 2009 02:39 PM
Re-sent.Thanks

Postnext
Kam ChanSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Kam Chan
Date: 16 Jun 2009 09:52 AM
Hi Ivan, did you receive the files, and do you have any insights?

Thanks

Kam

Postnext
(Deleted User) Subject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: (Deleted User)
Date: 17 Jun 2009 04:21 AM
Hi Kam,
sorry for the delay in answering. It turns out that the option you tried to set was incorrect: the correct syntax is -Xmx256M.
Anyhow, the method you are using to bind the data is not the most efficient one, as using the doc() function requires building the entire DOM tree for the input file. If you instead use the source file as the default context item (by specifying it in the General tab of the Scenario Dialog) and change the first variable definition to be

declare variable $system := /AscendantOne/Policy;

the query runs with the default Java heap size (and a couple of seconds faster, 3.4 against 5.6)

Hope this helps,
Alberto

Postnext
Kam ChanSubject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: Kam Chan
Date: 17 Jun 2009 09:45 AM
Hi Alberto,

Thanks for looking into this.

The original problem was that running the xQuery using the "built-in" processor crashes Struzzo.exe. And I am still having this problem.

I tried uninstalling and reinstalling, the "Abnormal program termination" message no longer shows, but replaced with a similar Runtime error, "This application has requested the Runtime to terminate it in an unusual way."

Does it work for you when you use the "built-in" processor.

Aside from that, somehow my Saxon processor is working without adding the -mx256m (which BTW is the official JVM parameter for setting max heap, -Xmx256m was experimental and matured into the -mx form).

Your suggestion of not using the doc() call is faster, but these xQueries will be ran under the boundary of EMC xPression, which seems to require an external variable definition. I don't know what is the equivalent of that using your suggestion. I tried your suggestion over there, and it does not work.

Please let me know if the built-in processor works for you.

Thanks

Kam

Posttop
(Deleted User) Subject: Runtime Error, Struzzo.exe, Abnormal program termination
Author: (Deleted User)
Date: 17 Jun 2009 12:32 PM
Hi Kam,
I can confirm that the built-in processor runs out of memory while parsing the XQuery and its associated module libraries; we are working on a fix to publish in the next update of Stylus Studio.

As for EMC xPression, I am not familiar with the platform, and I couldn't find any public documentation to browse for informations.

Hope this helps,
Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.