Troubleshooting

Eclipse OutOfMemoryError

I was getting OutOfMemoryErrors when running Eclipse with multiple projects open. To solve the problem I added the following arguments to my quicklaunch:

eclipse -vmargs -Xms512m -Xmx1024m -Xss2m -XX:MaxPermSize=256m

Reference

-Xms

Specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is chosen at runtime based on system configuration.

-Xmx

Ubuntu, Eclipse 3.4 (Ganymede), and Subclipse 1.4.4 Issue

I recently downloaded and installed the latest version of Eclipse (3.4.0 aka Ganymede) and ran into some issues when trying to get Subclipse (plugin for subversion) up and running.

Initially I was getting the following error message when accessing Windows->Preferences->Team->SVN->SVN Interface dropdown:

JavaHL (JNI) Not Available

When attempting to view a repository via the "SVN Repository Exploring" perspective I got a different error message:

Unable to load default SVN client

Upgrading Ubuntu Breaks Printer (cupsys)

During an upgrade of Ubuntu my printing capability was suddenly cut short. A red sign appeared on my printer icon on my task bar and any printed documents would be queued but not printed.

The Symptoms

A quick look in /var/log/cupsd/error_log gave the following clue:

Filter "brightq-CPCA" for printer "print" not available: Permission denied

Intel 82801G Headphone and Sound Issue

I came across another issue on my Compaq Presario C500 laptop with regards to the audio. An issue exists with the Intel 82801G (ICH7 family) High Definition Audio (HDA) audio controller with regards to the headphones. When plugging in the headphones the sound continues to come out of the laptop speakers. There is a simple and quick fix to this issue:

Resolution

Edit the /etc/modprobe.d/alsa-base f/etc/modprobe.d/alsa-base file:

sudo gedit /etc/modprobe/alsa-base

At the end of /etc/modprobe.d/alsa-base add the following:

Installing JavaHL for Subclipse/Eclipse on Ubuntu 7.10

While installing the subversion plugin Subclipse in the Eclipse IDE I came across a problem. Subclipse uses "JavaHL (JNI)" to interface with subversion by default. This default setting generates an error when accessing the "Window->Preferences->Team->SVN" preferences:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client::/
usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386::/usr/lib/firefox:/usr/lib/
firefox/:/usr/java/packages/lib/i386:/lib:/usr/lib

Ubuntu 7.10 Sound Issue on a Compaq Presario C500 laptop (resolved)

During the installation of Ubuntu 7.10 on a Compaq Presario C500 laptop I ran into an issue with the sound not working. I could not find any useful information while searching the forums. Many tips and advice spoke of editing the /etc/modprobe.d/alsa-base file to load an Intel specific module to no avail.

The installation went without any hitches and was remarkably fast. After installing the Ubuntu Linux operating system I rebooted. The first sign that something was not working correctly came just after the GRUB boot loader screen. Here is what I saw:

Syndicate content