Details

    • Number of attachments :
      0

      Description

      Hello good people!

      You are great and make the world a better place! Thank you!

      As mentioned to headius on IRC, we have noticed an increase in stack usage when embedding JRuby using RedBridge. A common use case as described by

      https://github.com/ruboto/ruboto-core/blob/master/test/activity/stack_activity.rb

      changes behavior when changing JRuby version as described by

      https://github.com/ruboto/ruboto-core/blob/master/test/activity/stack_activity_test.rb

      Stack is currently the most pressing resource limitation when using Ruboto, and it would be really beneficial if there was a way to reduce stack usage.

      Currently

      https://github.com/ruboto/ruboto-core/blob/master/test/activity/option_menu_activity.rb

      and

      https://github.com/ruboto/ruboto-core/blob/master/test/activity/option_menu_activity_test.rb

      fail on master due to stack level too deep.

      To reproduce check out ruboto-core and run

      ruby test/ruboto_gen_test.rb -n test_activity_tests
      

      The file to adjust to new stack level values is

      test/activity/stack_activity_test.rb
      

        Activity

        Hide
        Uwe Kubosch added a comment -

        We'll deal with this on a later optimization run.

        Show
        Uwe Kubosch added a comment - We'll deal with this on a later optimization run.

          People

          • Assignee:
            Unassigned
            Reporter:
            Uwe Kubosch
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: