This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 91082 - limit the number of 'current' requests
Summary: limit the number of 'current' requests
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: HTTP Monitor (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-12-14 15:59 UTC by jsight
Modified: 2016-07-07 08:56 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jsight 2006-12-14 15:59:34 UTC
I am seeing constant memory allocation and freeing with 100% CPU usage after it
has been up for about 1 day.

It goes away if I dump my .netbeans directory, but obviously that's a pain
(loses all of my settings).

I'm leaving this a little vague, as I'm not really sure how best to provide the
details that you need.  Feel free to ask for any specifics (and tell me the best
way to get them) and I will fill in more details.
Comment 1 jsight 2006-12-14 16:29:19 UTC
I've been able to research this a little more.

I am using ICEFaces (an AJAX framework) and left a webbrowser with it running
overnight.  The effect was that it generated tens of thousands of little
requests to the server.

The .netbeans/5.5/config/HTTPMonitor/current folder became infested with about
45000 little xml files.

Deleting that folder alone made the performance improve again.

I'll let this run again to try to make sure this is reproducable.
Comment 2 Peter Pis 2006-12-15 10:20:40 UTC
Reassigning to "web" for evaluation.
Comment 3 _ rkubacki 2006-12-16 17:47:31 UTC
better component + PERFORMANCE keyword
Comment 4 Sherold Dev 2006-12-18 07:45:20 UTC
The problem seems to be caused by the HTTP Monitor which records every request
that comes to the server. As a workaround you can disable the HTTP Monitor in
the Server Manager if you do not need it.

It would be reasonable to limit the number of 'current' requests, there is no
limit at this point. The default number can be for example 100 and it should be
customizable in the Options dialog.
Comment 5 Martin Balin 2016-07-07 08:56:39 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss