import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.stage.Stage;
public class HelloApplication extends Application {
@Override
public void start(Stage primaryStage) {
HBox test = new HBox();
Scene test2 = new Scene(test);
primaryStage.setScene(test2);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}
I'm don't really know if this is the usual amount of memory a blank javafx application uses and I find it quite a lot for a blank application. Tkinter programs seems to be use way less memory even with components inside the application. Is there a way to lower the amount of memory javafx uses in general?