Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

import json from datetime import datetime from pathlib import Path import os import shutil from pyspark.sql import functions as F from pyspark.sql.functions import rtrim, udf, unix_timestamp from ...
Vishnu Prasad's user avatar
0 votes
2 answers
82 views

My requirement is to read a file with .json extension from an SFTP server and perform some dataweave transformations on it. The issue is the file is very large, at times between 1 and 2GB. The format ...
Catherine Brugge's user avatar
0 votes
0 answers
41 views

I have an issue when running a Spark submit. I'm not sure whether the problem lies in my Spark script or my resources (but I suspect it's related to the resources). I have 9 main processes: A ...
Muhammad Faisal Irsyad's user avatar
2 votes
0 answers
254 views

I stumbled upon the same strange error, that is described here: related question I upgraded my Spring boot application from version "2.7.18" to "3.3.0". I updated dependencies ...
BerTim's user avatar
  • 66
0 votes
0 answers
92 views

I've upgraded a Java microservice from Java 8 to Java 17, and I am encountering an "Out of Memory" (OOM) issue when processing bulk records. In heap dumps, the suspect is identified as com....
sourabh's user avatar
  • 11
0 votes
0 answers
225 views

My application uses 20 GB of RAM for storing the session data i.e. JVM size to store. The sessions are referred, updated and cleared continuously producing qt high number of unused objects every ...
NCM's user avatar
  • 1
1 vote
1 answer
475 views

Depending on the nature of the automated workflow and the number of active threads at any given time the Heap size requirement for JMeter can vary and in the testing I am doing there is some ambiguity ...
Chamindra Sulakshith's user avatar
1 vote
1 answer
5k views

What are the limitations on Java heap space? What are the advantages/disadvantages of not increasing the size to a large value? This question stems from a program that I am running sometimes running ...
Shavk with a Hoon's user avatar
0 votes
1 answer
630 views

Recently, encountered increases in the heap memory usage in the master nodes (heap memory overflow master nodes continuous garbage collection ). I try to debug the root cause using the heap dump saved ...
Balaji Arun's user avatar
-1 votes
1 answer
713 views

I am trying to stitch images using the MosaicJ plugin in Fiji (ImageJ), however, I get the error in the code below. Does anyone know what it means and how I can fix this please? I have no experience ...
Tobi Lawal's user avatar
0 votes
0 answers
24 views

My Java application sends HTTP requests through java.net.http.HttpClient. The class that holds the HttpClient is a singleton that initializes the client in the constructor, which means only one ...
Oded's user avatar
  • 444
2 votes
2 answers
3k views

I change GC for application server. Now I use G1 GC. I have 30 GB RAM. For initial testing I set only Xms and Xmx values to be the same 23040 mb. Settings I use: -Xms23040m -Xmx23040m -XX:+UseG1GC ...
grep's user avatar
  • 5,641
0 votes
0 answers
99 views

i'm using weblogic and java ee. when i try to read a text file (about 100mb) and create an array out of it, java heap size exceeds and weblogic goes down. i use scanner to avoid reading file in memory ...
reza's user avatar
  • 27
2 votes
1 answer
347 views

How much memory takes TreeMap<Long, Long> collection filled with 1000 (all unique) key-value pairs? Yes I can just watch memory dump, but need to know granularly why exactly: Long = n bytes ...
J.J. Beam's user avatar
  • 3,171
1 vote
1 answer
373 views

While running a cucumber test using java-selenium getting error at following line: PageFactory.initElements(driver,LandingPage.class); Below is the complete code of Page Object Class: public class ...
Sourabh's user avatar
  • 39
0 votes
1 answer
300 views

I have these jvm param set -Xms24g -Xmx24g -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UnlockCommercialFeatures -XX:+UnlockExperimentalVMOptions -XX:InitiatingHeapOccupancyPercent=17 -XX:G1MaxNewSizePercent=...
best wishes's user avatar
  • 6,804
9 votes
2 answers
7k views

I found that one of my spring boot project's memory (RAM consumption) is increasing day by day. When I uploaded the jar file to the AWS server, it was taking 582 MB of RAM (Max Allocated RAM is 1500 ...
Kishan Solanki's user avatar
0 votes
1 answer
316 views

for increasing the heap size for Anylogic I have followed the method explained here but it just work for 1.5G of ram. my operating system is Windows 10 (64bit) and JVM is 1.8.0_281 (64bit). when I ...
Samir Kamyab's user avatar
0 votes
1 answer
143 views

Is spark's lazy evaluation really executing anything for the following simple example of pointing to a partition of a hive table and getting columns but nothing really heavy: >>> spark.sql('...
zhh210's user avatar
  • 408
0 votes
0 answers
3k views

I am running a Jenkins Controller in kubernetes. I have noticed that the controller has been restarting ALOT. kgp jkmaster-0 NAME READY STATUS RESTARTS AGE jkmaster-0 ...
jeunii's user avatar
  • 431
0 votes
2 answers
361 views

Lets say a method returns a String String str = methodCall(); The return type of methodCall() is String. Will we get a String literal which will be in pool memory or just a String object?
Rama Krishna's user avatar
0 votes
1 answer
496 views

I am facing the java.lang.OutOfMemoryError: Java Heap Space issue when I run the same spark program every 2nd time. Here is a scenario: When I do the spark-submit and runs the spark program for the ...
Saurabh Deshpande's user avatar
4 votes
1 answer
1k views

I am trying to instantiate a huge ArrayList List<Integer> list = new ArrayList<Integer>(Integer.MAX_VALUE); Running it in eclipse I get: java.lang.OutOfMemoryError: Requested array ...
Jim's user avatar
  • 4,529
0 votes
2 answers
4k views

Is it possible to invoke a forceful garbage collection in java every time heap memory crosses a particular threshold ?
Jaharsh 's user avatar
7 votes
2 answers
4k views

I'm 100% aware of the pitfalls of the JVM and advances/strides that have been done in the JVM world for it to understand the ergonomics/resources of a container. Also, yes I know that Java by default ...
user432024's user avatar
  • 4,745