GS60 Serious memory leakage (non-paged pool)
Windows 8.1
Laptop been on for only 24 hours and 5gb of memory was leaked by some driver (non-paged memory is at 5.5gb)
I only used the drivers provided on the MSI website.
Does anyone have information on this?
A peculiar effect of note is that to free that memory an actual restart is required. If you merely shutdown the laptop when you start it again the memory is not freed @_@ Never saw that before.
Edit:
Poolmon.exe implicates the tag Wfpn which google suggests is related to networking. Will try updating all networking drivers later.
Making this thread might have been unnecessary.
Disabling Ndu.sys through the registry (start value changed to 4) seems to have fixed the memory leak.
Still have no idea why so few people experience it. Just after 24 hours it went as high as 6 gigs.
Hopefully this will help others with a similar problem.
Similar Messages
-
Z77 G45 Gaming - Memory leak (Non-paged pool)
Good day MSI forum.
I recently bought this motherboard of yours, and it's working great. As the title says, I am having a memory leak of some sort. I've been doing all kinds of googeling, using poolmon trying to locate the error and so on, but I am not educated enough in this area to know what I am really doing!
What me and my frined managed to find out so far:
1. When I download something, or when I upload youtube with max pixels (more upload then), the non-paged pool meter just rises as if he was to climb the mount everest!
2. When I disabeled the Killer 2200 driver, (killed the EXE file in my task manager) the memory started to leak A LOT slower.
3. Over the course of 24 hours with no downloading, just youtube music streaming and online games being ran, it can leak up to 1000mb. (While downloading it does 1000mb in 1 hour). It was basically the same speed of my download - 1MB downloaded > 1 MB leaked - so in conclusion it has to do with the network (and here's the problem, I don't know what might cause this).
Now I am not completely sure that the driver/download is what is causing the memory leak, it might be something that I don't know of. I am not a pro in this matter, so I ask of help!
Thank you in advance,
Orlaw.Hi,
Please check the following article for troubleshooting:
http://support.microsoft.com/kb/q177415/en-us
Regards.
Vivian Wang -
Monitor Non-Paged Pool Usage SCOM 2012 R2
Has anyone figured out an effective method of monitoring non-paged memory pools.
My hope is to build a monitor that can determine max pool size and alert when non-paged pool usage is >= 90% of that maximum.
I've done some research on the subject, with the most relevant TechNet article being http://blogs.technet.com/b/markrussinovich/archive/2009/03/26/3211216.aspx.
Any help would be appreciated.Hi,
As we know, there is a performance counter for non-paged memory:
\memory\pool nonpaged bytes:
Low on Pool NonPaged memory
- less than 40% available (If the systems exceeds more that 60% of the Pool Non-paged bytes memory pool, then consider removing the /3GB switch or consider migrating to a 64-bit system.
Critically low on Pool NonPaged memory – less than 20% available (If the system exceeds 80% of the Pool Non-paged bytes memory pool. If so, consider removing the /3GB switch or consider migrating to a 64-bit system.
There is a rule to collect this performance, we can find it and enable it by overriding:
http://mpwiki.viacode.com/default.aspx?g=posts&t=155502
Regards,
Yan Li
Regards, Yan Li -
Oracle AQAPI causing memory leakage
Good day
I am having a memory leakage on my production server which degrades and eventually dies, the cause is a job that is executed every five minutes which polls the Oracle Queue using the AQAPI. I can see that garbage collector is attempting to finalize() the AQOracleQueue, but this object is waiting on a lock.
My code is as follows:
package com.strysie.aq;
import java.sql.Connection;
import oracle.AQ.AQDequeueOption;
import oracle.AQ.AQDriverManager;
import oracle.AQ.AQMessage;
import oracle.AQ.AQQueue;
import oracle.AQ.AQSession;
*public class QueueDAO {*
*public QueuePayload dequeueMsg() throws Exception {*
AQSession session = null;
AQQueue queue = null;
Connection connection = null;
*try {*
connection = connectionFromPool();
connection.setAutoCommit(false);
session = AQDriverManager.createAQSession(connection);
queue = session.getQueue("mySchemaName", "myQueueName");
AQDequeueOption dequeueOption = new AQDequeueOption();
dequeueOption.setConsumerName("myConsumerName");
String browseMode = System.getProperty("AQBrowseOrDequeue");
*if (browseMode.compareToIgnoreCase("Dequeue") != 0) {*
dequeueOption.setDequeueMode(AQDequeueOption.DEQUEUE_BROWSE);
AQMessage message = queue.dequeue(dequeueOption, new QueuePayload());
return (QueuePayload) message.getObjectPayload().getPayloadData();
*} catch (Exception ex) {*
throw ex;
*} finally {*
*try {*
*if (queue != null) {*
queue.close();
*} catch (Exception e) {*
e.printStackTrace();
*try {*
*if (session != null) {*
session.close();
*} catch (Exception e) {*
e.printStackTrace();
*try {*
*if (connection != null) {*
connection.commit();
*} catch (Exception e) {*
e.printStackTrace();
returnToPool(connection);
*private Connection connectionFromPool() {*
Connection connection = null;
*// fetch connection from pool*
return connection;
*private void returnToPool(Connection connection) {*
*// return connection to pool*
package com.strysie.aq;
import java.math.BigDecimal;
import java.sql.SQLException;
import oracle.jdbc.driver.OracleConnection;
import oracle.sql.CustomDatum;
import oracle.sql.CustomDatumFactory;
import oracle.sql.Datum;
import oracle.sql.STRUCT;
import oracle.sql.StructDescriptor;
*public class QueuePayload implements CustomDatum, CustomDatumFactory {*
public String account;
public BigDecimal amount;
static final QueuePayload message_t_Factory = new QueuePayload(null, null);
*public static CustomDatumFactory getFactory() {*
return message_t_Factory;
*public QueuePayload() {*
*public QueuePayload(String account_number, BigDecimal amount) {*
this.account = account_number;
this.amount = amount;
*public Datum toDatum(OracleConnection c) throws SQLException {*
StructDescriptor sd = StructDescriptor.createDescriptor("QUEUEPAYLOAD", c);
*Object[] attributes = { account, amount};*
return new STRUCT(sd, c, attributes);
*public CustomDatum create(Datum d, int sqlType) throws SQLException {*
*if (d == null) {*
return null;
Object[] attributes = ((STRUCT) d).getAttributes();
return new QueuePayload((String) attributes[0], (BigDecimal) attributes[1]);
** @return the account_number*
*public String getAccount() {*
return this.account;
** @return the amount*
*public BigDecimal getAmount() {*
return this.amount;
** @param account_number*
** the account_number to set*
*public void setAccount(String account_number) {*
this.account = account_number;
** @param amount*
** the amount to set*
*public void setAmount(BigDecimal amount) {*
this.amount = amount;
When I extract a thread dump I encounter the following on the Finalizer thread:
*"Finalizer" daemon prio=10 tid=0x00002aaab31c7800 nid=0x7469 waiting for monitor entry [0x0000000040a32000]*
java.lang.Thread.State: BLOCKED (on object monitor)
at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:1341)
- waiting to lock <0x00000007b0745288> (a oracle.jdbc.driver.T4CConnection)
at oracle.AQ.AQOracleQueue.close(AQOracleQueue.java:3225)
at oracle.AQ.AQOracleQueue.finalize(AQOracleQueue.java:3364)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
Please assist.
Best regards
RudiCan only 'guess' since the code is missing that shows how the connection and statement instances are being created, pooled and used.
Your code is not setting the 'wait' option for the dequeue and the default is DEQUEUE_WAIT_FOREVER for a message. So my 'guess' is that an instance of the code you show is 'waiting' for a message and keeping it's connection and statement open and then another thread is trying to use that connection and it is locked or another thread is trying to shutdown the application when the problem appears.
See Dequeuing Messages in the JDBC Developer's Guide
http://docs.oracle.com/cd/B28359_01/java.111/b31224/streamsaq.htm#BABJGBBA
>
•Wait: Specifies the wait time for the dequeue operation, if none of the messages matches the search criteria. The default value is DEQUEUE_WAIT_FOREVER indicating that the operation waits forever. If set to DEQUEUE_NO_WAIT, then the operation does not wait. If a number is specified, then the dequeue operation waits for the specified number of seconds.
>
Try setting the 'wait' option to DEQUEUE_NO_WAIT or to a number of seconds and see if the problem reoccurs.
NOTE: If this problem is occuring because another thread is trying to use this same connection when it is locked it probably means you have a problem in your connection pooling code since it would mean the connection pool is allowing another thread to use a connection that is already being used. -
Stand alone weblogic keeps running out of memory ! Cause of Memory Leakage?
Hi all,
I have a machine with 16gb ram and 500gb hard disk with linux os. I have installed weblogic server in it with an adf application deployed on it. So now the problem every two weeks the machine keeps running out of memory . Could it be because of connection leakage ?
There are only a couple of people accessing the application time and again.
When i checked for the data source connection count in weblogic server under data sources , it mostly shows around 10 - 20 connections.
What are various reasons for leakage of connection in ADF application ?
I have not made any explicit jdbc calls in our application .
There is a couple of PL/SQL calls to an external api(this is done in the application module) through db links and rest all is just plain accessing of application modules and view objects .
So what could be the reason if any memory leakage is occuring ?
My application module configuration is
<AppModuleConfigBag ApplicationName="model.am.AuthenticationAM">
<AppModuleConfig jbo.project="model.Model" DeployPlatform="LOCAL" name="AuthenticationAMLocal" ApplicationName="model.am.AuthenticationAM">
<AM-Pooling jbo.ampool.maxinactiveage="300000" jbo.ampool.initpoolsize="44" jbo.ampool.maxpoolsize="60" jbo.recyclethreshold="40" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="120000"/>
<Database jbo.locking.mode="optimistic" jbo.TypeMapEntries="OracleApps"/>
<Security AppModuleJndiName="model.am.AuthenticationAM"/>
<Custom JDBCDataSource="java:comp/env/jdbc/ConnectionDBDS" jbo.rowid_am_datasource_name="java:comp/env/jdbc/ROWIDAM_DBDS"/>Thanks in advance
Sam
Edited by: Sam47 on 19-Oct-2012 01:46Hi Suspito ,
Thanks for the link ..
Is that the standard configuration for weblogic server?
If at all there are connection leaks in the application in the weblogic server under datasource will it show the count of all the database connection open ?
-Sam -
Help with seting up a Data Sorce can't be created with non-existent Pool
I am wanting to use an Oracle 9i with WebLogic 7
I have the following in my config.xml:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
Name="Thin.Pool" Password="{3DES}C3xDZIWIABA="
Properties="user=SYSTEM" TestTableName="OID"
URL="jdbc:oracle:thin:@localhost:1521:DB_SID"/>
<JDBCDataSource JNDIName="DB_DS" Name="DB_DS" PoolName="Thin.Pool"/>
The console seems happy, no error mesages but in the log I get:
####<Mar 31, 2003 6:33:45 PM MST> <Info> <HTTP> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <101047>
<[ServletContext(id=4110316,name=console,context-path=/console)]
FileServlet: Using standard I/O>
####<Mar 31, 2003 6:35:37 PM MST> <Info> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001082> <Creating Data Source named DB_DS for pool
Thin.Pool>
####<Mar 31, 2003 6:35:37 PM MST> <Error> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001059> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(DB_DS) can't be created
with non-existent Pool (connection or multi) (Thin.Pool)
at weblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:127)
at weblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:260)
at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:293)
at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:375)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:154)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:732)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:714)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:417)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:578)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:419)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:952)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy16.addDeployment(Unknown Source)
at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1784)
at weblogic.management.internal.DynamicMBeanImpl.access$0(DynamicMBeanImpl.java:1737)
at weblogic.management.internal.DynamicMBeanImpl$1.run(DynamicMBeanImpl.java:1715)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1711)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1035)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:353)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:898)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:324)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:193)
at $Proxy13.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:145)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
Why does it say:
can't be created with non-existent Pool
Thanks,Add "Targets" attribute to the connection pool. You may
get an idea how it looks like by searching config.xml
for "targets". If target servers are not set, the pool won't be
deployed and can not be used to a create datasource.
Regards,
Slava Imeshev
"BBaker" <[email protected]> wrote in message
news:[email protected]...
I am wanting to use an Oracle 9i with WebLogic 7
I have the following in my config.xml:
<JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
Name="Thin.Pool" Password="{3DES}C3xDZIWIABA="
Properties="user=SYSTEM" TestTableName="OID"
URL="jdbc:oracle:thin:@localhost:1521:DB_SID"/>
<JDBCDataSource JNDIName="DB_DS" Name="DB_DS" PoolName="Thin.Pool"/>
The console seems happy, no error mesages but in the log I get:
####<Mar 31, 2003 6:33:45 PM MST> <Info> <HTTP> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <101047>
<[ServletContext(id=4110316,name=console,context-path=/console)]
FileServlet: Using standard I/O>
####<Mar 31, 2003 6:35:37 PM MST> <Info> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001082> <Creating Data Source named DB_DS for pool
Thin.Pool>
####<Mar 31, 2003 6:35:37 PM MST> <Error> <JDBC> <blue> <GameServe>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001059> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(DB_DS) can't be created
with non-existent Pool (connection or multi) (Thin.Pool)
atweblogic.jdbc.common.internal.JdbcInfo.validateConnectionPool(JdbcInfo.java:
127)
atweblogic.jdbc.common.internal.JdbcInfo.startDataSource(JdbcInfo.java:260)
atweblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:29
3)
atweblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:270
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:375)
atweblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:154)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:732)
atweblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:7
14)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:417)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
mpl.java:952)
atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
gurationMBeanImpl.java:578)
atweblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:419)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
atweblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerI
mpl.java:952)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198)
at $Proxy16.addDeployment(Unknown Source)
atweblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(D
ynamicMBeanImpl.java:1784)
atweblogic.management.internal.DynamicMBeanImpl.access$0(DynamicMBeanImpl.java
:1737)
atweblogic.management.internal.DynamicMBeanImpl$1.run(DynamicMBeanImpl.java:17
15)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
atweblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBean
Impl.java:1711)
atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
java:1035)
atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
onMBeanImpl.java:353)
atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
8)
atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
3)
atweblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanS
erverImpl.java:898)
atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:324)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:193)
at $Proxy13.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
atweblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanA
ttribute.java:92)
atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
eanAction.java:145)
atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:171)
atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:1058)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:401)
atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:306)
atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5445)
atweblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:780)
atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3105)
atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
Why does it say:
can't be created with non-existent Pool
Thanks, -
Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?
I found one such tool "Fortify" in the below link. Are there any such kind of tools available which supports SharePoint?
Reference: http://www.securityresearch.at/en/development/fortify/
Amalaraja Fernando,
SharePoint Architect
Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.Hi Amalaraja Fernando,
I'm not sure that there is one more tool that combines all these features. But you may take a look at these solutions:
SharePoint diagnostic manager
SharePoint enterprise manager
What is SPCop SharePoint Code Analysis?
Dmitry
Lightning Tools Check
out our SharePoint tools and web parts |
Lightning Tools Blog | Мой Блог -
i am trying to validate a package body and getting the following error while doing that .
Any sollution for this
ORA-04030: out of process memory (PLS non-lib hp,pdz2M87_Allocate_PermanentHi Shakil,
Error: ORA 4030
Text: out of process memory when trying to allocate %s bytes (%s,%s)
Cause: Operating system process private memory has been exhausted
Action: See the database administrator or operating system administrator to
increase process memory quota. There may be a bug in the application
that causes excessive allocations of process memory space.
*** Important: The notes below are for experienced users - See Note:22080.1
Explanation:
The Oracle shadow process cannot allocate memory. The error
should show the number of bytes being requested and area where
they are required
Diagnosis:
1) Check for a subsequent error, Eg: ORA 7324, to see where
memory is being allocated.
2) Check user memory limits and swap space. If these are too
low you may get the above error.
Eg: 'limit' or 'ulimit -a' on Unix.
3) It may help to reduce <Parameter:SORT_AREA_SIZE> if this is large.
4) Check if using the Parallel Query Option - if an operation is
being performed in parallel the memory requirements are greater.
Best regards,
Rafi.
http://rafioracledba.blogspot.com/ -
Memory Leakage in dlls called through JNI
I have some dll that are called through a JNI code that have a memory leakage. I need to find how much is that.
Do we have some functions for that to find it in the code.Is that possible without making changes in the JNI code.
I checked but all suggest a memory leakage tool.But i want to do that writing a code in Java.I have checked for the Runtime class but it only finds the JVM related memory usage and not the dll one.amol28 wrote:
But i want to do that writing a code in Java.Not possible. JNI/C/C++ is not java. So you can't use java to verify it.
I checked but all suggest a memory leakage toolEither that or you manually inspect and/or test the code yourself (in C/C++). -
Does making objects equal null help the gc handle memory leakage problems
hi all,
does making objects equal null help the gc handle memory leakage problems ?
does that help out the gc to collect unwanted objects ??
and how can I free memory avoid memory leakage problems on devices ??
best regards,
Message was edited by:
happy_lifeComments inlined:
does making objects equal null help the gc handle
memory leakage problems ?To an extent yes. During the mark phase it will be easier for the GC to identify the nullified objects on the heap while doing reference analysis.
does that help out the gc to collect unwanted objects
??Same answer as earlier, Eventhough you nullify the object you cannot eliminate the reference analysis phase of GC which definitelely would take some time.
and how can I free memory avoid memory leakage
problems on devices ??There is nothing like soft/weak reference stuffs that you get in J2SE as far as J2ME is concerned with. Also, user is not allowed to control GC behavior. Even if you use System.gc() call you are never sure when it would trigger the GC thread. Kindly as far as possible do not create new object instances or try to reuse the instantiated objects.
~Mohan -
Memory Leakage in Conky with Lua
Hi there, I've been experiencing ongoing memory leakage using my Conky + Lua scripts. It tends to keep accumulating memory until I kill the process and restart it. Highest I've seen it go is 10% of my 4gb of RAM, so it does get to be substantial if unchecked.
I did google it, and it mentioned something about cairo_destroy(cr), so I inserted it at the end of functions randomly where it made sense (to my limited scripting skills) and where it didn't (just in case), but it didn't seem to make any difference.
Here is the lua script - it creates rings as % bars, I believe it was taken from somewhere on the arch forums months ago where it was also modified.
Ring Meters by londonali1010 (2009)
This script draws percentage meters as rings. It is fully customisable; all options are described in the script.
To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
lua_load ~/scripts/rings-v1.2.1.lua
lua_draw_hook_pre ring_stats
-- Background settings
corner_r=20
main_bg_colour=0x060606
main_bg_alpha=0.4
-- Ring color settings
ring_background_color = 0x000000
ring_background_alpha = 0.6
ring_foreground_color = 0x909090
ring_foreground_alpha = 1
-- Rings settings
settings_table = {
name='cpu',
arg='cpu2',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=50, y=55,
radius=31,
thickness=3,
start_angle=-180,
end_angle=0
name='cpu',
arg='cpu1',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=50, y=55,
radius=35,
thickness=3,
start_angle=-180,
end_angle=0
name='memperc',
arg='',
max=100,
bg_colour=ring_background_color,
bg_alpha=ring_background_alpha,
fg_colour=ring_foreground_color,
fg_alpha=ring_foreground_alpha,
x=205, y=55,
radius=32,
thickness=10,
start_angle=-180,
end_angle=-0
require 'cairo'
local function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
local function draw_ring(cr,t,pt)
local w,h=conky_window.width,conky_window.height
local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
local angle_0=sa*(2*math.pi/360)-math.pi/2
local angle_f=ea*(2*math.pi/360)-math.pi/2
local t_arc=t*(angle_f-angle_0)
-- Draw background ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
cairo_set_line_width(cr,ring_w)
cairo_stroke(cr)
-- Draw indicator ring
cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
cairo_stroke(cr)
end
local function conky_ring_stats()
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
if value == nil then value = 0 end
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
if conky_window==nil then return end
local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
local cr=cairo_create(cs)
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>1 then
for i in pairs(settings_table) do
setup_rings(cr,settings_table[i])
end
end
cairo_destroy(cr)
end
--[[ This is a script made for draw a transaprent background for conky ]]
local function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
local cr=cairo_create(cs)
-- local thick=2
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(main_bg_colour,main_bg_alpha))
--cairo_set_line_width(cr,thick)
--cairo_stroke(cr)
cairo_fill(cr)
cairo_destroy(cr)
end
function conky_main()
conky_draw_bg()
conky_ring_stats()
cairo_destroy(cr)
end
And this is called into conky via:
background no
override_utf8_locale no
use_xft yes
xftfont Monospace:size=8
## orig font cure
text_buffer_size 2048
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_colour 191919
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 600 90
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 909090
default_shade_color fed053
default_outline_color 7f8f9f
alignment br
gap_x 30
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
color1 fff
border_inner_margin 5
border_outer_margin 5
own_window_argb_visual no
own_window_argb_value 200
lua_load ~/.conky/rings.lua
lua_draw_hook_pre main
Left out the conky TEXT section unless anybody desperately needs to see that too.
If anybody can point me in the right direction with this silly thing, that would be appreciated. Thanks!
Last edited by ugugii (2011-11-16 17:42:00)No I meant that the destroy functions should not be in conky_main at all. Why? Because you are using cr as an argument when you have no local cr defined. You are passing the undefined value (nil) to these destroy functions and they do nothing.
Like I said, I don't use conky or cairo but it is generally a good idea to destroy a resource you create. If you don't you will get memory leaks because "creating" is usually vague language that comes down to allocating memory and "destroy" deallocates memory.
This line from your own post creates a surface and stores it in the cs variable:
local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
Yet you forget to deallocate the surface stored in cs. So add a line like this after each cairo_destroy(cr):
cairo_surface_destroy(cs)
I hope that helps. -
Locate shared memory segments outside of pool 10
Dear All,
When i am starting my sap through STARTSAP its showing started successfully .but i am not able to logon to the system
Oracle is coming up without any issues but No dialog process is running
Facing the below errors in start profile when i am running sappfpar check =pf= START_DVEBMGS00_SAPDEV
***ERROR: Size of shared memory pool 10 too small
================================================================
SOLUTIONS: (1) Locate shared memory segments outside of pool 10
with parameters like: ipc/shm_psize_<key> =0
SOLUTION: Increase size of shared memory pool 10
with parameter: ipc/shm_psize_10 =56000000
***ERROR: Size of shared memory pool 40 too small
================================================================
SOLUTIONS: (1) Locate shared memory segments outside of pool 40
with parameters like: ipc/shm_psize_<key> =0
SOLUTION: Increase size of shared memory pool 40
with parameter: ipc/shm_psize_40 =62000000
I tired the above by giving recommended values 56000000 and 6200000 to ipc/shm_psize_10 abd ipc/shm_psize_40 respectively.but its not working.
My O/s is Linux suse9.0 and oracle 9 i
Is this is related to sysctl.conf ???
help !
RegardsDear Manoj,
my ERP2005 EhP4 Unicode system has
ipc/shm_psize_10 = 156000000
ipc/shm_psize_40 = 132000000
try these values, they are at least high enough.
Regarding your question with sysctl.conf. If the error is "shm_psize too small", then it has probably nothing to do with sysctl.conf.
Thanks,
Hannes -
Hi guys!
I have a "problem" with simple OCR vi's made with Vision Assistant in NI Vision 2011.
When I create a simple script, that only uses the OCR, and then create a .vi from it, the vi leaves the OCR session open. This results to huge leakage of RAM memory.
You cannot even get the OCR session out from the .vi automatically when creationg the vi, so that it could be disposed outside of the .vi! So only solution I could figure out was to actually modify the .vi and build it inside there. Also the .abc file for the OCR have to be built, because it's not necessary in the same drive or base path, and Vision Assistant uses the whole path e.g. "D:\Labview Projects\OCR\... ...fonts.abc".
It wouldn't be a problem unless I and especially others wouldn't be creating those OCR -vi's all the time. Now every vi have to be manually changed to dispose the session AND to take the .abc -file path in reference to the executable path.
If somebody knows any solutions for this, please don't hesitate to tell me Thanks!Hi,
System.gc() only suggests the objects are removed but there is no obligation for the JVM to do so.
The implementation of different JVM's will approach this event in different ways. For example an embedded JVM might be designed to nearly alwaya remove objects that have no reference left.
Anyway this is not strictly speaking memory leakage because if the JVM decides to it CAN remove the object.
Real memory leakage is where a series of object references are created and not destroyed and so they persist in time because they cannot be GC'ed.
A typical example is to create an object, stick it in an array of objects for some processing and then set the original object reference to null, thinking the object can now be GC'ed. But it can't unless the object reference in the array(which is a copy of the original object reference) is also set to null.
Hope that helps, -
How to find memory leakages in every screens and components in an Flex application ?
Hi Guys,
I was running my flex application and left it running over night.
I noticed that it had a memory leakage issue. The memory leakage was huge upto 1.5gb
Is there is way i can find out from where (which screen? and which component?) the memory is leaking in my application.??That's why FlashBuilder has a profiler. There are some tips for use on my
blog.
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui -
Find memory leakage when passing Object Reference from Teststand to vi
I am using Teststand to call labview vi, and pass ThisContext of sequence to vi as object reference, but if I just loop this step and I can find the memory using keep increasing, how can I avoid the memory leakage inside the vi.
see my vi, it is to post message to UI.
Solved!
Go to Solution.You should be using a close reference node to close the references you get as a result of an invoke. In the code below you should be closing the references you get from the following:
AsPropertyObject
Thread
Close those two references once you are done with them.
Also make sure you turned off result collection in your sequence or you will be using up memory continually for the step results.
Hope this helps,
-Doug
Maybe you are looking for
-
Can't update or restore your iPhone 4
can't update or restore my iPhone 4,I have been trying since week by either restoring or updating but the phone isn't coming out of recovery mode,Please help!!!
-
My Trips and Expenses - refresh all tabs?
In ESS, when i go to Iview- My Trips and Expenses, only the first tab- All my trips is refreshed. There are 3 other tabs which don't refresh and the header in these tabs show incorrect number of receipts. Afetr i click on these individual tabs then t
-
How do I launch mini bridge in photoshop cs5?
Can't find the mini bridge function in in the meny panal on photoshop. Any tips?
-
Where can I find the iPad back up files on my PC?
Where can I find the iPad back up files on my PC?
-
Converting instek psw labview examples from v8.2 to v7.1
The labview examples v8.2 of the instek psw series in needed in a 7.1 version. All I need is to control the constant current and constant voltage. I can supply the examples and visa.vi's or they can be obtained at instekamerica.com under downloads/