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 164777 - Simple Memory Usage indicator for Solaris
Summary: Simple Memory Usage indicator for Solaris
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Profile (show other bugs)
Version: 6.x
Hardware: All Solaris
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 16:01 UTC by Alexander Pepin
Modified: 2010-11-12 22:27 UTC (History)
0 users

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 Alexander Pepin 2009-05-08 16:01:36 UTC
Steps to reproduce:
- create a GizmoDemo project from issue #161492
- set Simple Data Provider in the project properties
- run GizmoDemo
Result: Memory Usage monitor shows the message: To use this feature the development host operating system must be
Solaris or Linux.
Comment 1 Alexey Vladykin 2009-05-08 16:13:13 UTC
It could be due to platform information in the attached project (issue 162826). Could you please go to project
properties and switch development host to localhost to make sure that platform is correct? Does it help?
Comment 2 Alexander Pepin 2009-05-08 17:03:17 UTC
It has always been localhost but platform was set to Linux. After adjusting the platform the message disappeared. But I
was asked to enter a root password. It seems to me very strange for Simple indicator. At the same time SunStudio data
provider does not need root privileges.
Comment 3 Alexey Vladykin 2009-05-08 17:53:31 UTC
Yep, now DTrace is used as memory indicator data provider even with "Simple (Indicators Only)".
Other options are to use prof_agent/prof_monitor (but this approach proved to be unreliable on Solaris due to different
memory libraries) or SunStudio.
Comment 4 Alexey Vladykin 2009-05-08 18:23:30 UTC
To make myself more clear: there is no really "simple" memory indicator data provider for memory on Solaris.
We have to use either DTrace or SunStudio. Or disable the memory indicator with appropriate message on it.
Let me know what you prefer.

Downgrading to P3 as more adequate priority for this bug.
Comment 5 Alexander Pepin 2009-05-08 18:37:14 UTC
Agreed, it's not a P2 any more. About my preferences, I would prefer that simple indicators work always on all
platforms. So I can not choose what's better from your proposal. 
Comment 6 Maria Tishkova 2009-05-08 18:40:44 UTC
I would prefer to have this as an enhancement, I do not see any reason for this issue to be a DEFECT.
Even if it requires Dtrace why it cannot be called simple (lightweight)? 
I do not see any reason to disable it by default. User can do that that him(her)self.
Comment 7 Alexey Vladykin 2009-05-12 10:27:18 UTC
If there are no objections, I'm converting this to enhancement.
It would be nice to have really simple indicator data provider for solaris: the one that does not require special
permissions and does not have heavy depencencies like SunStudio.