edit: when i unlock an account with just a few transactions it works nearly instantaneously... I think it's because my account has a lot of transactions (i have many aliases). @osm: does your account have many transactions?
Nope, I have 5 transactions. I think it's because of free memory. If I set the -Xmx480 parameter, login-popup window does not freezes.
OK, I'll try that too...
Edit: now i'm using -Xms320 -Xmx480, scanning blockchain still takes about 9 minutes, unlocking account still hangs at the login-popup (with "you can generate the next block in..."-message in the background and "numberOfUnlockedAccounts":1 via API).
But with the new API-Call i can unlock my account without opening the GUI!
see:
(from https://bitcointalk.org/index.php?topic=345619.msg5101583#msg5101583 )
http://localhost:7874/nxt?requestType=startForging&secretPhrase=PASSPHRASE