Giter Club home page Giter Club logo

Comments (5)

sadagopanprem avatar sadagopanprem commented on July 17, 2024

Now, I understand the problem is not with setting up the stack_limit - as it does successfully set's it up. However, setting this value programmatically so that it is applied for the xsd2json.

I did try to modify the package.json with the following:

"create-qlf": "swipl -O --stack_limit=4g  --goal=main -o -c lib-pl/cli.pl",

from the original:
"create-qlf": "swipl -O --goal=main -o lib-pl/cli.exe -c lib-pl/cli.pl",

But the error remains the same:
ERROR: -g user:main: Stack limit (1.0Gb) exceeded
ERROR: Stack sizes: local: 3.4Mb, global: 0.6Gb, trail: 0.4Mb
ERROR: Stack depth: 77,673,357, last-call: 100%, Choice points: 8,947
ERROR: In:
ERROR: [77,673,357] assoc:adjust(yes, '<garbage_collected>', left, _27862, yes)
ERROR: [77,673,354] assoc:insert(<, '<garbage_collected>', '<garbage_collected>', x, _27890, _27892)
ERROR: [77,673,352] assoc:insert(<, '<garbage_collected>', '<garbage_collected>', x, _27918, _27920)
ERROR: [77,673,350] assoc:insert(<, '<garbage_collected>', '<garbage_collected>', x, _27946, _27948)
ERROR: [77,673,348] assoc:insert(<, '<garbage_collected>', '<garbage_collected>', x, _27974, _27976)
ERROR:
ERROR: Use the --stack_limit=size[KMG] command line option or
ERROR: ?- set_prolog_flag(stack_limit, 2_147_483_648). to double the limit.

from xsd2json.

fnogatz avatar fnogatz commented on July 17, 2024

In most cases this is not a problem with the stack limits, but that the given XSD can not be converted at all. Any chances you can provide your XSD so that I can look into for possibly missing things?

from xsd2json.

sadagopanprem avatar sadagopanprem commented on July 17, 2024

In most cases this is not a problem with the stack limits, but that the given XSD cannot be converted at all. Any chances you can provide your XSD so that I can look into for possibly missing things?

Sure, will do. Basically, if there are one or two "import" in the XSD then it works fine. In the case of multiple imports of XSD's in the XSD "under conversion" then it fails.

from xsd2json.

sadagopanprem avatar sadagopanprem commented on July 17, 2024

In most cases this is not a problem with the stack limits, but that the given XSD can not be converted at all. Any chances you can provide your XSD so that I can look into for possibly missing things?

your email id pls ?
[email protected]

from xsd2json.

fnogatz avatar fnogatz commented on July 17, 2024

Closing this because of inactivity.

from xsd2json.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.