background preloader

Java

Facebook Twitter

Wireless

Spellcheck. 6 Common Errors in Setting Java Heap Size. Two JVM options are often used to tune JVM heap size: -Xmx for maximum heap size, and -Xms for initial heap size. Here are some common mistakes I have seen when using them: Missing m, M, g or G at the end (they are case insensitive). For example,java -Xmx128 BigAppjava.lang.OutOfMemoryError: Java heap spaceThe correct command should be: java -Xmx128m BigApp. To be precise, -Xmx128 is a valid setting for very small apps, like HelloWorld. But in real life, I guess you really mean -Xmx128mExtra space in JVM options, or incorrectly use =.

How to set java heap size in Tomcat? Set CATALINA_OPTS=-Xms512m -Xmx512m (Windows, no "" around the value)export CATALINA_OPTS="-Xms512m -Xmx512m" (ksh/bash, "" around the value)setenv CATALINA_OPTS "-Xms512m -Xmx512m" (tcsh/csh, "" around the value) In catalina.bat or catallina.sh, you may have noticed CATALINA_OPTS, JAVA_OPTS, or both can be used to specify Tomcat JVM options. How to set java heap size in JBoss? JAVA_OPTS="-server -Xms128m -Xmx128m" 2. . Welcome to Solr.

Mass-scale computing: Why Hadoop is hot but Java is not | Ventur. With the massive amount of data proliferating the Web, companies such as Google and many others are building new technologies to sort it all. Core to that movement is something called MapReduce, a software technique that breaks down huge amounts of data into smaller bits. Operating on the smaller bits, and then piecing results together to form the big picture again has proven extremely successful.

MapReduce was introduced by a paper from Google. Although Google’s implementation (written in C++) remains proprietary, their paper inspired the open source Hadoop implementation (written in Java), which has become quite popular. In fact, Hadoop has become such a hot item, that Amazon recently announced an elastic Hadoop web service! And Yahoo is Hadoop’s biggest contributor, using it in its web search and advertising businesses. When we talk about mass-scale, we need to think about cluster sizes of 10,000 servers and beyond. Kevin Lawton is serial entrepreneur. By Steven J. Owens Jarkarta Lucene ( is a high-performance, full-featured, java, open-source, text search engine API written by Doug Cutting. Note that Lucene is specifically an API, not an application. This means that all the hard parts have been done, but the easy programming has been left to you. The payoff for you is that, unlike normal search engine applications, you spend less time wading through tons of options and build a search application that is specifically suited to what you're doing.

I'm going to assume that you're a basically competent programmer and that you are basically competent in java. Use the Source, Luke This tutorial is a brief overview; the Lucene distribution comes with four example classes: FileDocument IndexFiles SearchFiles DeleteFiles These classes are really a good introduction to how to use Lucene. Overview I'm going to try to use emphasis tags any time I introduce a Lucene API class name. At the heart of Lucene is an Index. Free JAVA Applications for (Linu. This is a survey of free JAVA applications, tools, utilities and virtual machines for small portable (embedded) devices like PDAs, HandHeld PCs and mobile (cell) phones. These programms are either licensed under the GNU General Public License (GPL) or another free license. Virtual Machines NanoVM NanoVM is a tiny (less than 8 kB of code including simple native classes and a bootloader) implementation of the Java VM.

Ewe is a programming system that allows you to write applications that run exactly the same, unaltered, on desktop systems, on mobile systems, and even in a Web browser as an Applet. The Aegis VM Project The Aegis VM Project is an ongoing effort to develop a lightweight, secure virtual machine for executing Java bytecode. Wonka Wonka is a cleanroom Virtual Machine for the Java language. SuperWaba SuperWaba is a JavaVM for handhelds. Kaffe Kaffe is a complete, PersonalJava 1.1 compliant Java environment.

kAWT The goal of the kAWT Zaval Light-Weight Visual Components Library JanosVM kissme. Optimize your Java applications performanc. Algomusic.com. JGAP: Java Genetic Algorithms Package.