Results 1 to 2 of 2
  1. #1
    odeno is offline Member
    Join Date
    Oct 2009
    Posts
    5
    Rep Power
    0

    Default Call to OS from App taking 10 mins on certain PC

    Hi,

    I have written a java app that's been working for a few years now and the client is very satisfied. However, a certain user has been experiencing a problem where the app runs fine BUT whenever it interacts with the OS (Win7 in this case), it takes ~10 mins to respond. Actions include, for example, exporting the currently displayed JTable to a CSV file or making an OS call to open up MS Word, etc.

    I copied the users version of the app onto my platform (win 8.1) and tested it on winXP too with no problems which points towards an issue on the users particular PC. Furthermore, it used to run on the users PC fine until something (??) happened.

    I've tried the following so far:-

    1. looked at System restore to check anything new installed - nothing obvious
    2. disabling anti virus - problem still occurs
    3. monitoring JVM process time using Task Manager - little CPU time seems to be utilised (=> no loop etc)

    I'll try tonight :-

    1. using JvisualVM - although I don't think this will show me what's going on with the OS
    2. excluding the JVM and the app from all anti malware

    Can anyone point me towards an app or something that shows interaction with the OS so I can trace what might be intercepting the call from my app to the OS?

    Or any other thoughts on troubleshooting the above?

    many thanks in anticipation,

    Odeno

  2. #2
    odeno is offline Member
    Join Date
    Oct 2009
    Posts
    5
    Rep Power
    0

    Default Re: Call to OS from App taking 10 mins on certain PC

    Hi,

    I upgrade the users PC to java 8 / jdk 1.8 and this seemed to clear the problem. My hunch is whatever was intercepting the OS calls doesn't have java 8 marked so the issue could possibly come back.

    If it does, my course of action would be to uninstall malwarebytes.

    Still be happy for any thoughts on this thread though towards understanding the problem.

    thanks,

Similar Threads

  1. Replies: 2
    Last Post: 06-17-2013, 10:26 AM
  2. Need help in the next 10 mins for exam
    By Pacina in forum New To Java
    Replies: 6
    Last Post: 05-14-2013, 05:22 PM
  3. call by reference or call by value in java?
    By proggrammer in forum New To Java
    Replies: 6
    Last Post: 06-27-2012, 03:00 PM
  4. call by value and call by reference in java
    By sandeepsai39 in forum New To Java
    Replies: 7
    Last Post: 08-12-2010, 11:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •