Hello Divya,

On 4/8/23 07:45, Divya Sharma wrote:
While running the java.run script I got the following error [1]showing out of memory allocation. Kindly suggest the way to remove it rather than build all the required dependencies and packages from scratch.


[1]/usr/local/genode/tool/21.05/bin/../lib/gcc/arm-none-eabi/10.3.0/../../../../arm-none-eabi/bin/as:
 out of memory allocating 9223372036854841471 bytes after a total of 696320 
bytes


This looks like as if it happens when linking the boot modules of the image together. Maybe there are too many modules and something got too big? By the size of the allocation clearly something did overflow, but it's hard to tell without the actual scenario. What did you change in the "java.run" script?

Regards,

Sebastian




On Wed, Apr 5, 2023 at 11:02 PM <[email protected] <mailto:[email protected]>> wrote:



    Hello Genodians,

    I am able to run java.run in virt_qemu-arm_v7a. The output is directed to
    log [ stdout="/dev/log" ], is there a way to redirect the sdtout to
    terminal [ stdout="/dev/terminal" ] instead of log?



    My two cents : the way I do it here is to modify the "config" scenario file
    this way:
    - keep stdout set to "/dev/log"
    - modify the routing to : <route> <service name="LOG"> <child
    name="terminal_log"> ...
    - add a terminal_log component
    - add a terminal component.

    It works for me... But if there is a way to specify stdout="/dev/terminal"
    instead, that might be of interest to me as well.

    Cedric


    _______________________________________________
    Genode users mailing list
    [email protected] <mailto:[email protected]>
    https://lists.genode.org/listinfo/users
    <https://lists.genode.org/listinfo/users>


_______________________________________________
Genode users mailing list
[email protected]
https://lists.genode.org/listinfo/users

--
Sebastian Sumpf
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth





_______________________________________________
Genode users mailing list
[email protected]
https://lists.genode.org/listinfo/users

Reply via email to