During the actual operation of the recommendation system, the following errors occur when executing the featureengineering (Scala) file:
ERROR SparkContext: Error initializing SparkContext. java.lang.IllegalArgumentException: System memory 259522560 must be at least 471859200
Solution:
1. Click Edit configurations
2 If your setting interface has the following red box, paste the following text directly
-Xms128m -Xms512m -XX:MaxPermSize=300m -ea
3. If not, click Modify options first, then add VM options, as shown in the figure below, and then complete the second step
this problem should be solved.
Read More:
- [Solved] JPA sett in parameter error: Java.lang.illegalargumentexception
- java.lang.IllegalArgumentException: adding a window to a container
- [Solved] Hibernate Error: java.lang.StackOverflowError at java.lang.Integer.toString(Integer.java:402)
- [Solved] Java.lang.ClassCastException: [Ljava.lang.Long; cannot be cast to java.util.List
- [Solved] java: Internal error in the mapping processor: java.lang.NullPointerException
- [Solved] nacos Startup Error: nested exception is java.lang.RuntimeException: java.lang.RuntimeException: [db-load-error
- [Solved] JAVA OpenCV Startup Error: java.lang.UnsatisfiedLinkError
- [Solved] Hbase-shell 2.x Error: Unhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal…
- [Solved] IDEA springboot Startup Error: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path
- [Solved] java Internal error in the mapping processor java.lang.NullPointerException
- [Solved] java Internal error in the mapping processor java.lang.NullPointerException
- [Solved] JAVA fx Error: java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding“ with message transform
- [Solved] Java 9 reflection error: java.lang.reflect.InaccessibleObjectException
- Java uses class array to report error Exception in thread “main” java.lang.NullPointerException solution
- JAVA error: java.lang.OutOfMemoryError:GC overhead limit exceeded
- [Solved] JAVA Project Import jstl Error: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
- Java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver [How to Solve]
- java: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x590
- [Solved] JAVA Error: Error occurred during initialization of boot layer java.lang.module.FindException
- Java error: java.lang.NoSuchMethodError