scalala / Scalala

Scalala has been superseded by dlwh/breeze. Scalala is a high performance numeric linear algebra library for Scala, with rich Matlab-like operators on vectors and matrices; a library of numerical routines; support for plotting.
http://groups.google.com/group/scalala
GNU Lesser General Public License v2.1
298 stars 30 forks source link

Scala IDE freezes for several seconds when saving #34

Open jkdeveyra opened 12 years ago

jkdeveyra commented 12 years ago

The Scala IDE hangs whenever .scala file is being saved. Looking at my task manager, the IDE consumes a lot of CPU.

tutysara commented 12 years ago

Is this a Scala issue or Scalala issue? Which IDE are you using?

jkdeveyra commented 12 years ago

I have not encountered this problem on my non-scalala projects. I'm not sure if it's a bug on scala that scalala was able to expose. I'm using Eclipse IDE 3.7 with Scala IDE Plugin 2.0.0 RC04

tutysara commented 12 years ago

without code it is not easy to tell what is the issue. My guess is that you are doing some memory intensive task using Scalala which is causing Eclipse hang when saving the file. Can you please post the code so, that I can try replicating your scenario.

jkdeveyra commented 12 years ago

Here is the source code: https://gist.github.com/1575441

The code above is the actual code I am working with.

Eclipse IDE for Java Developers 3.6.2 Scala plugin version: 2.0.0

Libraries: arpack_combined_all.jar netlib-java-0.9.3.jar scalala_2.9.1-1.0.0.RC2-SNAPSHOT.jar

Modified on eclipse.ini: -Xmx1160m

tutysara commented 12 years ago

Hi, I am on vacation, I don't have access to my primary system. I will try replicating your config when I get access to my system (around 01/20).

I got my data in an external hard disk and I found something interesting when I tried coding using a dual core system with 1 G memory with the same Eclipse setup I had (Eclipse Helios, scalala_2.9.1-1.0.0.RC2-SNAPSHOT.jar) My eclipse also freezes when I save the files and It becomes responsive after a few mins. I did a clean up of my projects and now it has been building the workspace for the past 45 mins with some occasional freezing and unresponsiveness here and there.

Got any clues? I mean do you have enough resources to use scalala.