yuuvis® RAD Q&A

+1 vote
by (160 points)

All my microservice processes are running on 32 bit Java. However, I need features provided by the 64 bit version. I found out by looking at the service manager's Java settings that it is pointing to jdk_64. Microservice instances apparently do not inherit this configuration, though. How can I get them to use jdk_64?

1 Answer

0 votes
by (14.8k points)
selected by
 
Best answer

Hoi,

You can set in servicewatcher-sw.yml for each microservice which architecture it should run with. For example, the index service uses the 64bit architecture.

by (14.8k points)
+1
Hoi,

OK, one example here:

applications:
-   name: extraction
    type: microservice
    arch: x64
    profiles: prod, cloud
    memory: 128M
    port: 8080
    path: ${appBase}/extractionservice/extraction-app.jar
...