Performing action based on available memory

I know java will let your query the freememory() available. My question is it possible to perform an action based on how much free memory is left? Like say if the memory is low you start storing things in a file rather than in memory to save on space. I'm thinking of something similar to virtual memory. It seems though that the freememory function isn't really reporting what is going on. I setup a test look that just creates new objects until the runtime crashes from low memory. Inside the for loop it would test for free memory each time around. If it was below a certain threshold i would print out something. But it doesn't ever seem to reach that point no matter how large i make it. Any idea's about freememory and how it works or how to use it?

I setup a test look that
just creates new objects until the runtime crashes
from low memory. Inside the for loop it would test
for free memory each time around. If it was below a
certain threshold i would print out something. But it
doesn't ever seem to reach that point no matter how
large i make it.This suggests to me that you aren't keeping references to all those objects, so they are being garbage-collected.

Similar Messages

  • Will Installing more RAM improve performanc​e, IF laptop has "available memory" not being used?

    My laptop has 2x 1GB of RAM.
    Right now, and usually, The Physical Memory shown in Task Manager, shows that there is "available memory" (currently it's 500megs worth). (And "system cache" says 300megs.)
    There is also, right now, 2.5GB of page filing being used.
    If I were to replace the 2GB of RAM with 4GB (of the same Mhz), would there be a noticable increase in performance?
    (windows XP 32bit OS)

    A matched set of DDR2 ram will perform a lot faster one memory not matched. Its required for the double data rate to work. Hence 2+2 is the max you'd need/want in a 32bit machine. Windows 7 was built for large memory footprints. XP was built to run just barely in 64MB but really needed a min of 128MB to support a network connection and printing. It was never enable to truely go a whole lot further than a few machines built capable of 1GB. There was even a bug which was patch causing problems if a !GB or more was available. Just because it can see it does not mean it actually uses it !! The kernal by default is swapped in/out of ram even in larger memory systems. Why, it was is not aware of the extra memory and does not change its behavour from a 512MB machine.
    As for the 1333Mhz ram the timing may be faster than the other memory used. Hence it flow the data faster on the bus. Fewer delays in various cycles including the RAS/CAS etc but thats all under the hood so to speak.
    T520 Model 4239 Intel(R) Core(TM) i7-2860QM CPU @ 2.50GHz
    Intel Sandy Bridge & Nvidia NVS 4200M graphics Intel N 6300 Wi-Fi adapter
    Windows 7 Home Prem - 64bit w/8GB DDR3

  • JVM performance in case of JVM memory usage is high

    Hi All
         Here is some query about JVM performance in case of JVM memory usage is high.
         I have a server of 16GB. For JVM 12GB and for OS 4GB.
         Let say, My Application creating many Unnecessary Objects and consumes very high memory.
         Also, there is a gaurenty that limit of memory is it never exceed 2GB.
         No, in worst scenario memory used by JVM is 2GB.Ok.
         I have free memory available for JVM is 10GB(16GB - 2GB - 4GB(any OS memory usage)).
         Now, for any Application processing I have 10GB.
         So, does it affect application processing for which I have 10GB.
         I mean does JVM performance decreses in high JVM memory usage even I have occupied more memory to JVM.

    Hi All
         Here is some query about JVM performance in case of JVM memory usage is high.
         I have a server of 16GB. For JVM 12GB and for OS 4GB.
         Let say, My Application creating many Unnecessary Objects and consumes very high memory.
         Also, there is a gaurenty that limit of memory is it never exceed 2GB.
         No, in worst scenario memory used by JVM is 2GB.Ok.
         I have free memory available for JVM is 10GB(16GB - 2GB - 4GB(any OS memory usage)).
         Now, for any Application processing I have 10GB.
         So, does it affect application processing for which I have 10GB.
         I mean does JVM performance decreses in high JVM memory usage even I have occupied more memory to JVM.

  • ILife & iWork '08 Install caused dramatic loss of available memory...

    I just installed both iLife & iWork '08 on my MacBook Pro laptop. It had approx. 24GB of available memory. After the installation I now have 2.51 GB of memory. I'm also now seeing "Your startup disk is full" error messages. What gives?

    Hi Don Wise;
    You have overfilled your disk. With the free disk space as low as you now have you are leaving yourself open to poor performance and file corruption. I would start looking at moving files off of the disk to free up space.
    You can download WhatSize to help you find out where the disk space is being used.
    When you get some more free disk space you should boot from the install media and repair your disk. If you don't do that you will be leaving yourself open to strange problems in the future due to file corruption.
    Allan

  • Impdp and available memory

    Just a quick one on how available memory can affect datapump imp.
    Will increasing the SGA from 2GB to 8GB of a database on which data is being imported affect the total import time?
    Just a bit curious!
    Thanks

    Hi,
    What is the method of the Import Method. Whether it is External Path or Direct Path. If it is Direct Path it will not use buffer cache, it will directly insert after the HWM. If it is External Path it will use the SGA. I dont find a point to increase the size of SGA for the import process alone. If you have a luxury of having 8GB instance for import process you can have it for the normal databse operations too. Rather you can do the import process on the less peak time or you need to address the below questions to increase the size of SGA for this process
    1) how much data are you going to insert?
    2) how many users are going to be connected to the Oracle database when import is going to happen?
    3) how big is your improting data and how it wll affect the performance
    You can go for direct path insert which will be faster than the external path
    Thanks,
    Vijay

  • Perform action on set of rows

    Is there a way with 2008 r2 to perform an action based o as set of rows highlighted in the Excel pivot table.  Say for example the end user wants to drill through on three rows in a pivot table that all share a common attribute value.  Can they
    somehow specify those three rows and perform an action?
    John Schroeder

    Hi Jschroeder,
    According to your description, you want to set the action on the rows which share a common attribute value, in this case, the action is dynamically base on the values, right? In SQL Server Analysis Services, an action is an end user-initiated operation upon
    a selected cube or portion of a cube. The operation can start an application with the selected item as a parameter, or it can retrieve information about the selected item. The action was defined at the cube design time. So I am afraid you requirement cannot
    be done currently.
    If I have anything misunderstood, please point it out.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Role Upload - Could not perform action

    Gurus,
    I am attempting to upload a sampling of R/3 ECC 6.0 roles into the portal (EP6). I have the system connection defined and testing successfully. I unfortunately can not execute the upload function. After defining the selections that I wish to upload, in this case a role, I receive the red exclamation mark followed by "Could not perform action. Check the role migration log for additional information"
    I also have not been able to locate this migration log. I have searched here and sap's help portal for the location of this log but to no avail. Any assistance will be greatly appreciated.

    Hi Mike,
    usually you are able do drill down this information further more.
    If you do not know which file to check look in the defaultTrace.<no>.log for more information. There will be a hint to dive in much deeper.
    On the page where you get this message there is a tab "Log Viewer" please have a look at this to get more information.
    Best regards,
    Michael

  • Performing form based authentication with entities

    Hey everyone,
    Im in a major dilemma.Im trying to perform form-based authentication using entities.I have created the entity class from the database,and I used a SLSB to access the bean method via JNDI(when I tried using dependency injection,there was an exception).I also cannot use hibernate as a persistent provider.I used toplink since it is the default in netbeans 5.5.1 and it did not raise any issues.But then,I noticed that toplink is most compatible with the oracle application server,and I use sun java system application server 9.1.I have not been able to successfully perform the authentication.
    here's the code:note,there are still bugs as ive been going back and forth trying to find a solution and also because Ive been working with preexisting code.
    model:
    SLSB
    * userValidationBean.java
    * Created on 26 March 2008, 18:25
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package Entities;
    import javax.ejb.Stateless;
    import javax.ejb.Remote;
    import java.util.List;
    import javax.persistence.PersistenceContext;
    import javax.persistence.EntityManager;
    import javax.persistence.Query;
    import Entities.UserTable;
    import javax.transaction.UserTransaction;
    import javax.annotation.Resource;
    //the reason for the many comments is that im still debugging and there are still some bugs.Ive also been trying to go back and forth just
    //to get a solution.
    //the other accompanying classes had preexisting code i wrote earlier.
    * @author Ayo
    @Stateless
    @Remote(userValidationRemote.class)
    public class userValidationBean implements Entities.userValidationRemote {
    @PersistenceContext private EntityManager manager;
    @Resource private javax.transaction.UserTransaction tran;
    /** Creates a new instance of userValidationBean */
    public userValidationBean() {
    //"SELECT u.username,u.password FROM UserTable u WHERE u.username =?1 and u.password=?2"
    public boolean checkUser()
    try
    tran.begin();
    UserTable user=new UserTable();
    Query query=manager.createQuery("select u.username,u.password from u.user_table where u.username=:username and u.password=:password");
    /*query.set("username",user.getUsername());
    query.setParameter("password",user.getPassword());*/
    query.setParameter("username",user.getUsername());
    query.setParameter("password",user.getPassword());
    userValidationBean ubean=(userValidationBean)query.getSingleResult();
    boolean result=ubean==null?true:false;
    tran.commit();
    catch(Exception e)
    System.out.println("Error:"+e);
    // boolean result=ubean==null?true:false;
    return result;
    remote interface
    package Entities;
    import javax.ejb.Remote;
    import Entities.UserTable;
    * This is the business interface for userValidation enterprise bean.
    @Remote
    public interface userValidationRemote {
    public boolean checkUser();
    controller:servlet
    * userCheck.java
    * Created on 15 March 2008, 22:41
    package servlets;
    import Entities.UserTable;
    import Entities.userValidationBean;
    import javax.annotation.*;
    import Entities.userValidationRemote;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.persistence.*;
    * @author Ayo
    * @version
    public class userCheck extends HttpServlet {
    //@EJB userValidationRemote userRemote;
    boolean checkUser;
    String username,password;
    /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    /*con=null;
    ps=null;
    rs=null;
    s=null;
    */response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    username=request.getParameter("username");
    password=request.getParameter("password");
    if(username==""||password=="")
    //RequestDispatcher de=request.getRequestDispatcher("admin_error.jsp");
    //de.forward(request,response);
    //showError("<b><font color=\"red\">Invalid Login details!</font></b>",request,response);
    showError("<b><font color=\"red\">Please fill in the required blanks.</font></b>",request,response);
    else
    try
    Context ctx=new InitialContext();
    userValidationRemote userRemote=(userValidationRemote)ctx.lookup("Entities.userValidationRemote");
    checkUser= userRemote.checkUser();
    //checkUser= userRemote.checkUser();
    //return;
    //checkUser(UserTable user);
    catch(Exception e)
    out.println("Error:"+e);
    //userValidation.checkUser(UserTable user);
    if(checkUser==true)
    RequestDispatcher d=request.getRequestDispatcher("blah.jsp");
    d.forward(request,response);
    else if(checkUser==false)
    // RequestDispatcher d=request.getRequestDispatcher("admin_error.jsp");
    //d.forward(request,response);
    showError("<b><font color=\"red\">Invalid Login details!</font></b>",request,response);
    //call bean(stateless or stateful)which access method on entity that validates.
    // checkUser(request,response);
    /* TODO output your page here
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet userCheck</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<h1>Servlet userCheck at " + request.getContextPath () + "</h1>");
    out.println("</body>");
    out.println("</html>");
    //out.close();
    /* public synchronized void checkUser(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
    if(username==""&&password=="")
    showError("<b><font color=\"red\">Please fill in the required blanks.</font></b>",request,response);
    else
    try
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select username,password from user_table where username=?and password=?");
    ps.setString(1,username);
    ps.setString(2,password);
    rs=ps.executeQuery();
    if(rs.next())
    user=rs.getString(1);
    pass=rs.getString(2);
    //check user type,wether super admin,user or the other subadmins or a regular user.
    checkType(request,response);
    else
    //redirect to admin error page,then close the connection.
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    con.close();
    catch(Exception e)
    private synchronized void checkType(HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
    try
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select user_type,user_id,access_level from user_table where username=? and password=?");
    ps.setString(1,user);
    ps.setString(2,pass);
    rs=ps.executeQuery();
    if(rs.next())
    user_type=rs.getString(1);
    user_id=""+rs.getInt(2);
    access_level=rs.getString(3);
    if(user_type.equals("super")&&(access_level.equals("all")))
    //create admin user session,add to the username and the user_id.
    //redirect to super admin page,with access rights to create
    //health admin,insurance admin and HMO admin.
    //pretty cool stuff!
    HttpSession session=request.getSession(true);
    session.setAttribute("user",user);
    session.setAttribute("user_id",user_id);
    RequestDispatcher dispatcher=request.getRequestDispatcher("admin_user_page.jsp");
    dispatcher.forward(request,response);
    //session.setAttribute(user_id);
    //remember to create a hidden field if you need to pass this information
    //to another page and retrieve the super admin id to track his activities.
    else if(user_type.equals("health administrator")&&(access_level.equals("Health")))
    HttpSession session=request.getSession(true);
    session.setAttribute("user",user);
    session.setAttribute("user_id",user_id);
    RequestDispatcher des=request.getRequestDispatcher("health_admin_user_page.jsp");
    des.forward(request,response);
    //check for other user types,health admin,hmo admin and insurance admin.
    else if(user_type.equals("hmo administrator")&&(access_level.equals("HMO")))
    HttpSession session=request.getSession(true);
    session.setAttribute("user",user);
    session.setAttribute("user_id",user_id);
    RequestDispatcher d=request.getRequestDispatcher("hmo_admin_user_page.jsp");
    d.forward(request,response);
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    else if(user_type.equals("insurance administrator")&&(access_level.equals("insurance")))
    HttpSession session=request.getSession(true);
    session.setAttribute("user",user);
    session.setAttribute("user_id",user_id);
    RequestDispatcher de=request.getRequestDispatcher("insurance_admin_user_page.jsp");
    de.forward(request,response);
    else if(user_type.equals("user")&&(access_level.equals("health")))
    try
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql:http://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select staff_id from user_table where username=?and password=?");
    ps.setString(1,username);
    ps.setString(2,password);
    rs=ps.executeQuery();
    if(rs.next())
    String staff_id=""+rs.getInt(1);
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select * from health_staff_table where staff_id=?");
    ps.setString(1,staff_id);
    rs=ps.executeQuery();
    if(rs.next())
    //retrieve the values from health staff and store them in variables.
    //store important variables in user sessions e.g.staff_id,username,place of work for display in the web page.
    //redirect to required page.
    String first_name=rs.getString("first_name");
    String last_name=rs.getString("last_name");
    String work_place=rs.getString("place_of_work");
    HttpSession session=request.getSession(true);
    session.setAttribute("first_name",first_name);
    session.setAttribute("last_name",last_name);
    session.setAttribute("work_place",work_place);
    session.setAttribute("staff_id",staff_id);
    //redirect to user page.
    else
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    else
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    catch(Exception e)
    //catch exception and redirect to page.
    else if(user_type.equals("user")&&(access_level.equals("HMO")))
    try
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql:http://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select staff_id from user_table where username=?and password=?");
    ps.setString(1,username);
    ps.setString(2,password);
    rs=ps.executeQuery();
    if(rs.next())
    String staff_id=""+rs.getInt(1);
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select * from hmo_staff_table where staff_id=?");
    ps.setString(1,staff_id);
    rs=ps.executeQuery();
    if(rs.next())
    //retrieve the values from HMO staff and store them in variables.
    //store important variables in user sessions e.g.staff_id,username,place of work for display in the web page.
    //redirect to required page.
    String first_name=rs.getString("first_name");
    String last_name=rs.getString("last_name");
    String work_place=rs.getString("place_of_work");
    HttpSession session=request.getSession(true);
    session.setAttribute("first_name",first_name);
    session.setAttribute("last_name",last_name);
    session.setAttribute("work_place",work_place);
    session.setAttribute("staff_id",staff_id);
    else
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    else
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    catch(Exception e)
    //catch exception and redirect to page.
    else if(user_type.equals("user")&&(access_level.equals("insurance")))
    try
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql:http://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select staff_id from user_table where username=?and password=?");
    ps.setString(1,username);
    ps.setString(2,password);
    rs=ps.executeQuery();
    if(rs.next())
    String staff_id=""+rs.getInt(1);
    Class.forName("com.mysql.jdbc.Driver");
    con=DriverManager.getConnection("jdbc:mysql://localhost:3306/Health_Management_System","root","");
    ps=con.prepareStatement("select * from insurance_staff_table where staff_id=?");
    ps.setString(1,staff_id);
    rs=ps.executeQuery();
    if(rs.next())
    //retrieve the values from insurance staff and store them in variables.
    //store important variables in user sessions e.g.staff_id,username,place of work for display in the web page.
    //redirect to required page.
    String first_name=rs.getString("first_name");
    String last_name=rs.getString("last_name");
    String work_place=rs.getString("place_of_work");
    HttpSession session=request.getSession(true);
    session.setAttribute("first_name",first_name);
    session.setAttribute("last_name",last_name);
    session.setAttribute("work_place",work_place);
    session.setAttribute("staff_id",staff_id);
    else
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    else
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    catch(Exception e)
    //catch exception and redirect to page.
    else
    //invalid login details.After all else fails.
    showError("<b><font color=\"red\">Invalid Login details.</font></b>",request,response);
    catch(Exception e)
    private void showError(String errorMsg,HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
    request.setAttribute("error_msg",errorMsg);
    RequestDispatcher dispatcher=request.getRequestDispatcher("admin_error.jsp");
    dispatcher.forward(request,response);
    // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
    /** Handles the HTTP <code>GET</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    /** Handles the HTTP <code>POST</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    /** Returns a short description of the servlet.
    public String getServletInfo() {
    return "Short description";
    // </editor-fold>
    view
    <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Login</title>
    <style type="text/css">
    <!--
    .style3 {     color: #000000;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 12px;
    .style1 {color: #0000FF}
    .style4 {
         color: #0000FF;
         font-size: 12px;
    .style5 {
         font-size: 12px
    .style6 {
         color: #FF0000;
         font-size: 12px;
    .style7 {
         font-size: 36px
    .style8 {color: #000000}
    -->
    </style>
    </head>
    <body>
    <table width="564" border="0" align="center">
    <tr>
    <td width="558" bgcolor="#CCCCCC" class="style1"><div align="center">
    <p> </p>
    <h1 class="style7">Welcome to HealthPort</h1>
    <p>HealthPort Login</p>
    <p><span class="style8">Today's date is:<%= new java.util.Date() %></span></p>
    <form id="form1" name="form1" method="post" action="userCheck">
    <p align="right" class="style3">Username
    <label></label>
    <input type="text" name="username" id="username" />
    </p>
    <p align="right" class="style3">Password
    <input type="password" name="password" id="password" />
    </p>
    <p align="right" class="style3">
    <span class="style6">
    <label></label>
    <label></label>
    </span>
    <span class="style5">
    <label></label>
    </span>
    <label>
    <input type="submit" name="button" id="button" value="Login" />
    </label>
    </p>
    <div align="right">
    </div></form>
    <div align="right"><div align="left"><p align="right"> </p>
    </div></div></div></td>
    </tr>
    <tr>
    <td bgcolor="#CCCCCC" class="style1"> </td>
    </tr>
    </table>
    </body>
    </html>
    so,that's about it.I'd appreciate it.I know this is a lot.I'm grateful
    Ayo.

    Hi.Im still having issues trying to perform form based authenticatin with entities.I tried this method but im getting errors on the marked lines.
    controller servlet
    * userCheck.java
    * Created on 15 March 2008, 22:41
    package servlets;
    import Entities.UserTable;
    import Entities.userValidationBean;
    import javax.annotation.*;
    import Entities.userValidationRemote;
    import java.io.*;
    import java.net.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.persistence.*;
    * @author Ayo
    * @version
    public class userCheck extends HttpServlet {
    //@EJB userValidationRemote userRemote;
    boolean checkUser;
    String username,password;
    /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
    * @param request servlet request
    * @param response servlet response
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    /*con=null;
    ps=null;
    rs=null;
    s=null;
    */response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    username=request.getParameter("username");
    password=request.getParameter("password");
    if(username==""||password=="")
    showError("<b><font color=\"red\">Please fill in the required blanks.</font></b>",request,response);
    else
    try
    Context ctx=new InitialContext();
    userValidationRemote userRemote=(userValidationRemote)ctx.lookup("Entities.userValidationRemote");
    (error on this line-saying ')' expected and no matter if i add ) there is still erro)userRemote.authenticate(String p_user,String p_password);
    catch(Exception e)
    out.println("Error:"+e);
    if(checkUser==true)
    RequestDispatcher d=request.getRequestDispatcher("blah.jsp");
    d.forward(request,response);
    else if(checkUser==false)
    showError("<b><font color=\"red\">Invalid Login details!</font></b>",request,response);
    private void showError(String errorMsg,HttpServletRequest request,HttpServletResponse response)throws ServletException,IOException
    request.setAttribute("error_msg",errorMsg);
    RequestDispatcher dispatcher=request.getRequestDispatcher("admin_error.jsp");
    dispatcher.forward(request,response);
    // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
    /** Handles the HTTP <code>GET</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    /** Handles the HTTP <code>POST</code> method.
    * @param request servlet request
    * @param response servlet response
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    /** Returns a short description of the servlet.
    public String getServletInfo() {
    return "Short description";
    // </editor-fold>
    view
    <%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Login</title>
    <style type="text/css">
    <!--
    .style3 {     color: #000000;
         font-family: Arial, Helvetica, sans-serif;
         font-size: 12px;
    .style1 {color: #0000FF}
    .style4 {
         color: #0000FF;
         font-size: 12px;
    .style5 {
         font-size: 12px
    .style6 {
         color: #FF0000;
         font-size: 12px;
    .style7 {
         font-size: 36px
    .style8 {color: #000000}
    -->
    </style>
    </head>
    <body>
    <table width="564" border="0" align="center">
    <tr>
    <td width="558" bgcolor="#9DACBF" class="style1"><div align="center">
    <p> </p>
    <h1 class="style7">Welcome to HealthPort</h1>
    <p>HealthPort Login</p>
    <p><span class="style8">Today's date is:<%= new java.util.Date() %></span></p>
    <form id="form1" name="form1" method="post" action="userCheck">
    <p align="right" class="style3">Username
    <label></label>
    <input type="text" name="username" id="username" />
    </p>
    <p align="right" class="style3">Password
    <input type="password" name="password" id="password" />
    </p>
    <p align="right" class="style3">
    <span class="style6">
    <label></label>
    <label></label>
    </span>
    <span class="style5">
    <label></label>
    </span>
    <label>
    <input type="submit" name="button" id="button" value="Login" />
    </label>
    </p>
    <div align="right">
    </div></form>
    <div align="right"><div align="left"><p align="right"> </p>
    </div></div></div></td>
    </tr>
    <tr>
    <td bgcolor="#CCCCCC" class="style1"> </td>
    </tr>
    </table>
    </body>
    </html>
    SLSB (implements userValidationRemote)
    * userValidationBean.java
    * Created on 26 March 2008, 18:25
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package Entities;
    import javax.ejb.Stateless;
    import javax.ejb.Remote;
    import javax.persistence.PersistenceContext;
    import javax.persistence.EntityManager;
    import javax.persistence.Query;
    import Entities.UserTable;
    import javax.annotation.*;
    //import javax.transaction.UserTransaction;
    * @author Ayo
    @Stateless(mappedName="ejb/facade/userValidationBean")
    @Remote(userValidationRemote.class)
    (error on this line saying can't find class TransactionManagement)@TransactionManagement(value=TransactionManagementType.CONTAINER)
    public class userValidationBean implements Entities.userValidationRemote {
    @PersistenceContext(unitName="HealthInsuranceApp-ejbPU") private EntityManager manager;
    /** Creates a new instance of userValidationBean */
    public userValidationBean() {
    //"SELECT u.username,u.password FROM UserTable u WHERE u.username =?1 and u.password=?2"
    public boolean authenticate(String p_user,String p_password)
    UserTable m_user=manager.find(UserTable.class,p_user);
    if(m_user!=null)
    return m_user.getPassword().equals(p_password);
    return false;
    Entity
    * UserTable.java
    * Created on 29 March 2008, 13:24
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package Entities;
    import java.io.Serializable;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.Table;
    * Entity class UserTable
    * @author Ayo
    @Entity(name="qs_UserPwd")
    @Table(name = "user_table")
    public class UserTable implements Serializable {
    @Id
    @Column(name = "user_id", nullable = false)
    private Integer userId;
    @Column(name = "username")
    private String username;
    @Column(name = "password")
    private String password;
    @Column(name = "user_type")
    private String userType;
    @Column(name = "access_level")
    private String accessLevel;
    @Column(name = "staff_id")
    private Integer staffId;
    @Column(name = "staff_type", nullable = false)
    private String staffType;
    @Column(name = "time_created")
    private String timeCreated;
    @Column(name = "time_modified")
    private String timeModified;
    @Column(name = "time_logged_in")
    private String timeLoggedIn;
    @Column(name = "time_logged_out")
    private String timeLoggedOut;
    @Column(name = "created_by")
    private String createdBy;
    /** Creates a new instance of UserTable */
    public UserTable() {
    * Creates a new instance of UserTable with the specified values.
    * @param userId the userId of the UserTable
    public UserTable(Integer userId) {
    this.userId = userId;
    * Creates a new instance of UserTable with the specified values.
    * @param userId the userId of the UserTable
    * @param staffType the staffType of the UserTable
    public UserTable(Integer userId, String staffType) {
    this.userId = userId;
    this.staffType = staffType;
    public UserTable(String p_user,String p_password)
    setUsername(p_user);
    setPassword(p_password);
    * Gets the userId of this UserTable.
    * @return the userId
    public Integer getUserId() {
    return this.userId;
    * Sets the userId of this UserTable to the specified value.
    * @param userId the new userId
    public void setUserId(Integer userId) {
    this.userId = userId;
    * Gets the username of this UserTable.
    * @return the username
    public String getUsername() {
    return this.username;
    * Sets the username of this UserTable to the specified value.
    * @param username the new username
    public void setUsername(String p_user) {
    p_user = username;
    * Gets the password of this UserTable.
    * @return the password
    public String getPassword() {
    return this.password;
    * Sets the password of this UserTable to the specified value.
    * @param password the new password
    public void setPassword(String p_password) {
    p_password=password;
    * Gets the userType of this UserTable.
    * @return the userType
    public String getUserType() {
    return this.userType;
    * Sets the userType of this UserTable to the specified value.
    * @param userType the new userType
    public void setUserType(String userType) {
    this.userType = userType;
    * Gets the accessLevel of this UserTable.
    * @return the accessLevel
    public String getAccessLevel() {
    return this.accessLevel;
    * Sets the accessLevel of this UserTable to the specified value.
    * @param accessLevel the new accessLevel
    public void setAccessLevel(String accessLevel) {
    this.accessLevel = accessLevel;
    * Gets the staffId of this UserTable.
    * @return the staffId
    public Integer getStaffId() {
    return this.staffId;
    * Sets the staffId of this UserTable to the specified value.
    * @param staffId the new staffId
    public void setStaffId(Integer staffId) {
    this.staffId = staffId;
    * Gets the staffType of this UserTable.
    * @return the staffType
    public String getStaffType() {
    return this.staffType;
    * Sets the staffType of this UserTable to the specified value.
    * @param staffType the new staffType
    public void setStaffType(String staffType) {
    this.staffType = staffType;
    * Gets the timeCreated of this UserTable.
    * @return the timeCreated
    public String getTimeCreated() {
    return this.timeCreated;
    * Sets the timeCreated of this UserTable to the specified value.
    * @param timeCreated the new timeCreated
    public void setTimeCreated(String timeCreated) {
    this.timeCreated = timeCreated;
    * Gets the timeModified of this UserTable.
    * @return the timeModified
    public String getTimeModified() {
    return this.timeModified;
    * Sets the timeModified of this UserTable to the specified value.
    * @param timeModified the new timeModified
    public void setTimeModified(String timeModified) {
    this.timeModified = timeModified;
    * Gets the timeLoggedIn of this UserTable.
    * @return the timeLoggedIn
    public String getTimeLoggedIn() {
    return this.timeLoggedIn;
    * Sets the timeLoggedIn of this UserTable to the specified value.
    * @param timeLoggedIn the new timeLoggedIn
    public void setTimeLoggedIn(String timeLoggedIn) {
    this.timeLoggedIn = timeLoggedIn;
    * Gets the timeLoggedOut of this UserTable.
    * @return the timeLoggedOut
    public String getTimeLoggedOut() {
    return this.timeLoggedOut;
    * Sets the timeLoggedOut of this UserTable to the specified value.
    * @param timeLoggedOut the new timeLoggedOut
    public void setTimeLoggedOut(String timeLoggedOut) {
    this.timeLoggedOut = timeLoggedOut;
    * Gets the createdBy of this UserTable.
    * @return the createdBy
    public String getCreatedBy() {
    return this.createdBy;
    * Sets the createdBy of this UserTable to the specified value.
    * @param createdBy the new createdBy
    public void setCreatedBy(String createdBy) {
    this.createdBy = createdBy;
    * Returns a hash code value for the object. This implementation computes
    * a hash code value based on the id fields in this object.
    * @return a hash code value for this object.
    @Override
    public int hashCode() {
    int hash = 0;
    hash += (this.userId != null ? this.userId.hashCode() : 0);
    return hash;
    * Determines whether another object is equal to this UserTable. The result is
    * <code>true</code> if and only if the argument is not null and is a UserTable object that
    * has the same id field values as this object.
    * @param object the reference object with which to compare
    * @return <code>true</code> if this object is the same as the argument;
    * <code>false</code> otherwise.
    @Override
    public boolean equals(Object object) {
    // TODO: Warning - this method won't work in the case the id fields are not set
    if (!(object instanceof UserTable)) {
    return false;
    UserTable other = (UserTable)object;
    if (this.userId != other.userId && (this.userId == null || !this.userId.equals(other.userId))) return false;
    return true;
    * Returns a string representation of the object. This implementation constructs
    * that representation based on the id fields.
    * @return a string representation of the object.
    @Override
    public String toString() {
    return "Entities.UserTable[userId=" + userId + "]";
    please what do I do? or is there a better way? seems like my appserver(sun java system app server 9.1)doesnt support dependency injection as
    there's always an exception in the server log when i try it.i use the default transaction provider toplink because use of any of the others raises an exception and my application index page never shows. please i need help? I want to be able to succesfully perform this authentication as its the only way i can move to the next level
    Ayo.

  • Available memory not correct shown in SCVMM 2008

    When looking in Hosts to see al my clustered host machines, the available memory for each host is 0 KB. I can create new virtual machines because there is enough memory but it is incorrect reported.
    Has anyone an idea to resolve this issue?
    The configuration:
    4*HP BL460c with 16 GB memory attached to a SAN
    Failover clustered
    One SCVMM server with 4 GB memory

    Are your Hosts running server core ? We have seen  WMI counters which VMM uses for available memory having issues more often on server core.
    Anyways, if you haven't done already, then these two QFEs(KBs) might need to be installed in the system.
    KB958124 A wmiprvse.exe process may leak memory when a WMI notification query is used heavily on a Windows Server 2008-based or Windows Vista-based computer
    KB954563 Memory corruption may occur with the Windows Management Instrumentation (WMI) service on a computer that is running Windows Server 2008 or Windows Vista Service Pack 1
    -- ChetanG
    -- This posting is provided "AS IS" with no warranties, and confers no rights. User assumes all.

  • Dealing with KeyStore larger than available memory.

    Hi,
    I'm manipulating a JCEKS/SunJCE KeyStore that has grown larger than available memory on the machine. I need to be able to quickly lookup/create/and sometimes delete keys. Splitting into multiple KeyStores and loading/unloading based on which one the particular request needs isn't ideal.
    Can anyone recommend a file backed KeyStore that doesn't depend on loading the entire file into memory to work with the KeyStore? Or perhaps a different way of using the existing framework?
    Thanks,
    Niall

    You might check the diffferent providers (and ask their developers about it) to see if you can find one; they should be using BER encoding and not DER encoding of the ASN1 structures. In that case the provider is able to read entries and parse through to the target entry (PILE) on demand but you will have a "pile" version which will make your performace pay for it. If somebody offers that, there sure should be some caching and enhancements on the KeyStore implementation not to suck on random searches.
    Start your tests with Bouncycastle provider but I remember, in 2001, certificates generated by the security provider of jcsi (later wedgetail and a part of Quest [Vintela]) were BER encoded. It does not necessarily mean, that they use BER for all constructs now. Furthermore that does not mean that partial load is supported for their implementation of key store.
    Finally if none matched your needs, you can write one security provider yourself. Reading the current keystore once (you hopefully have the passwords for all entries), write the entries in the new keystore file( in BER format) then write a logic (probably with caching) to offer transparent partial load in your keystore implementation; drop me some lines if you need more details or commercial consulting services on this.

  • "Cannot perform action on stopped deployment" when starting VM

    Shut down Windows VM from within VM. Stopped VM from within Azure portal. Trying to start VM from portal, and after about 30 seconds get message "Cannot perform action on stopped deployment."  How do I troubleshoot this?

    Shut down Windows VM from within VM. Stopped VM from within Azure portal. Trying to start VM from portal, and after about 30 seconds get message "Cannot perform action on stopped deployment."  How do I troubleshoot this?
    I noticed that both "Start" (not restart) and "Shutdown" were available at the bottom of the portal.  Even though the current status showed "Stopped," when I did Shutdown, it successfully shutdown, then I was able to
    click on Start and it was able to redeploy the VM.  It appears that the machine was not fully shutdown as previously though, but it is confusing when the two options are Start and Shutdown.  It would seem that "Start" should not be available
    to a machine that is not capable of being started.

  • Getting error while opening a saved for later notification: The selected action is not available. The cause may be related to security. Contact your system administrator to verify your permission level for this action.

    Hi All,
    While opening a saved for later notification, we are getting "The selected action is not available. The cause may be related to security. Contact your system administrator to verify your permission level for this action". error.
    This is a custom notification.
    Please help.
    Thanks
    Raghava

    HI All,
    Please help on this issue.
    Thanks
    Raghava

  • My iPad is double downloading iTunes TV series shows and when I delete, the extra show does not delete from the available memory.  I have lost almost 30GB of my 64 to this phantom shows.

    I am losing available memory on my iPad (64 GB 3rd gen) and it appears to lose memory because some TV shows that I have downloaded from iTunes are appearing twice in my downloads.  Both download, but when Only appear as 1 show on my "videos".  After viewing the show, I delete, but the duplicate show appears to be still there somewhere (not visible anywhere) taking up the same amount of memory that showed before downloading.  It reduces my available memory to download other shows.  The general settings do not show any of these phantom shows taking any memory, but the total available is much, much less than what is showing for all usage such as music, videos, photos, apps, etc
    Is it possible to delete a show from the download portion of iTunes if you have already seen a show and do not want to waste time or memory downloading again?  The only way that I know is to let it download completely and the delete from "Videos".

    John0618. Did you ever get a response or solution to problem?  I have the same problem (starting about three months ago). 

  • I regularly have 15 MB of Available Memory - Should I upgrade or is there an issue I should solve first? EtreCheck report pasted below

    Hello,
    My MacBook is running super slow. I downloaded Memory Clean from the App Store and I regularly have 15MB or free memory available.
    In Activity Monitor I usually see the following:
    ~800 MB kernel_task
    ~500 MB softwareupdated
    ~500 MB Image Capture Extension
    In Console, I see mdworker.bundle errors attributed to UID's: 501, 503, 1422
    My current UID from what I can tell is 502. Other UID's left over from various upgrades are 89, 99, 235.
    Lastly, Drive Genius is giving me a Drive Integrity Warning. But I can't create a bootable clone.
    I have no idea if the above problems are related. I'd like to think I just run a lot of stuff that eats my memory and upgrading the RAM would be the easy path. What say you all?
    -Jeff
    Problem description:
    I regularly have 15 MB of Available Memory - Should I upgrade or is there an issue I should solve first?
    EtreCheck version: 2.1.8 (121)
    Report generated February 27, 2015 at 1:42:38 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (17-inch, Late 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,3
        1 2.5 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 412
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 512 MB
            Color LCD 1920 x 1200
        AMD Radeon HD 6770M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 11 days 16:29:20
    Disk Information: ℹ️
        APPLE HDD HTS727575A9E362 disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (73.11 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Boom.app
        [not loaded]    com.globaldelight.driver.BoomDevice (1.1 - SDK 10.9) [Click for support]
            /Applications/DiskWarrior.app
        [not loaded]    com.alsoft.Preview (4.4) [Click for support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hidhook (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.hypervisor (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.netbridge (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.usbconnect (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.vnic (9.0 24237.1028877) [Click for support]
            /Applications/VMware Fusion.app
        [not loaded]    com.vmware.kext.vmci (90.5.7) [Click for support]
        [not loaded]    com.vmware.kext.vmioplug.12.1.17 (12.1.17) [Click for support]
        [not loaded]    com.vmware.kext.vmnet (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vmx86 (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vsockets (90.5.7) [Click for support]
    Startup Items: ℹ️
        HP IO: Path: /Library/StartupItems/HP IO
        Startup items are obsolete in OS X Yosemite
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        [killed]    com.apple.xpc.loginitemregisterd.plist
        4 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.ifdreader.plist
        [failed]    com.apple.loginwindow.LFVTracer.plist
        [killed]    com.apple.nesessionmanager.plist
        [killed]    com.apple.periodic-monthly.plist
        [killed]    com.apple.periodic-weekly.plist
        [killed]    com.apple.xpc.smd.plist
        8 processes killed due to memory pressure
    Launch Agents: ℹ️
        [running]    com.bjango.istatmenusagent.plist [Click for support]
        [running]    com.bjango.istatmenusnotifications.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.[redacted].UpdatePodcastsAgent.plist [Click for support]
        [unknown]    ~ [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.backblaze.bzserv.plist [Click for support]
        [running]    com.bjango.istatmenusdaemon.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Click for support]
        [loaded]    com.prosofteng.DriveGenius.locum.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.akamai.client.plist [Click for support]
        [running]    com.akamai.single-user-client.plist [Click for support]
        [running]    com.backblaze.bzbmenu.plist [Click for support]
        [loaded]    com.divx.agent.postinstall.plist [Click for support]
        [running]    com.ecamm.printopia.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Click for support]
        [running]    com.prosofteng.DGMonitor.plist [Click for support]
        [running]    ws.agile.1PasswordAgent.plist [Click for support]
    User Login Items: ℹ️
        Dropbox    Application Hidden (/Applications/Dropbox.app)
        Fantastical    Application Hidden (/Applications/Fantastical.app)
        TextExpander    Application Hidden (/Applications/TextExpander.app)
        HazelHelper    Application Hidden (/Users/[redacted]/Library/PreferencePanes/Hazel.prefPane/Contents/MacOS/HazelH elper.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Google Earth Web Plug-in: Version: 6.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.3.1.3   - SDK 10.8 [Click for support]
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        npP3Remote: Version: 0.3 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 2.2 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        iPhotoPhotocast: Version: 7.0
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
    User internet Plug-ins: ℹ️
        BrowserPlus_2.9.8: Version: 2.9.8 [Click for support]
        CitrixOnlineWebDeploymentPlugin: Version: 1.0 [Click for support]
        WebEx64: Version: 1.0 - SDK 10.5 [Click for support]
    Safari Extensions: ℹ️
        1Password
        FastestTube
        DivX Plus Web Player HTML5 <video>
        Open in Internet Explorer
    3rd Party Preference Panes: ℹ️
        Akamai NetSession Preferences  [Click for support]
        Backblaze Backup  [Click for support]
        BrowserPlus  [Click for support]
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Hazel  [Click for support]
        Logitech Control Center  [Click for support]
        MacFUSE  [Click for support]
        Printopia  [Click for support]
        Xmarks for Safari  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: ON
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 748.93 GB Disk used: 675.81 GB
        Destinations:
            Time Machine [Local]
            Total size: 999.85 GB
            Total number of backups: 49
            Oldest backup: 2014-10-30 20:23:53 +0000
            Last backup: 2015-02-26 13:07:38 +0000
            Size of backup disk: Too small
                Backup size 999.85 GB < (Disk used 675.81 GB X 3)
    Top Processes by CPU: ℹ️
            12%    WindowServer
             7%    bzfilelist
             1%    loginwindow
             1%    Dropbox
             0%    bztransmit
    Top Processes by Memory: ℹ️
        361 MB    bztransmit
        326 MB    Finder
        206 MB    Safari
        163 MB    WindowServer
        146 MB    Console
    Virtual Memory Information: ℹ️
        647 MB    Free RAM
        2.99 GB    Active RAM
        2.45 GB    Inactive RAM
        1.67 GB    Wired RAM
        10.17 TB    Page-ins
        6.32 GB    Page-outs
    Diagnostics Information: ℹ️
        Feb 27, 2015, 09:46:13 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/helpd_2015-02-27-094613_[redac ted].crash

    Ok.
    I think that got it all. Anything else you see?
    Problem description:
    Uninstalled CleanMyMac2
    EtreCheck version: 2.1.8 (121)
    Report generated February 27, 2015 at 3:31:40 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (17-inch, Late 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,3
        1 2.5 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 412
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 512 MB
            Color LCD 1920 x 1200
        AMD Radeon HD 6770M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:51:42
    Disk Information: ℹ️
        APPLE HDD HTS727575A9E362 disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (76.14 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Boom.app
        [not loaded]    com.globaldelight.driver.BoomDevice (1.1 - SDK 10.9) [Click for support]
            /Applications/DiskWarrior.app
        [not loaded]    com.alsoft.Preview (4.4) [Click for support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hidhook (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.hypervisor (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.netbridge (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.usbconnect (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.vnic (9.0 24237.1028877) [Click for support]
            /Applications/VMware Fusion.app
        [not loaded]    com.vmware.kext.vmci (90.5.7) [Click for support]
        [not loaded]    com.vmware.kext.vmioplug.12.1.17 (12.1.17) [Click for support]
        [not loaded]    com.vmware.kext.vmnet (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vmx86 (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vsockets (90.5.7) [Click for support]
    Startup Items: ℹ️
        HP IO: Path: /Library/StartupItems/HP IO
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [running]    com.bjango.istatmenusagent.plist [Click for support]
        [running]    com.bjango.istatmenusnotifications.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.[redacted].UpdatePodcastsAgent.plist [Click for support]
        [unknown]    ~ [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.backblaze.bzserv.plist [Click for support]
        [running]    com.bjango.istatmenusdaemon.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.prosofteng.DriveGenius.locum.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.akamai.client.plist [Click for support]
        [running]    com.akamai.single-user-client.plist [Click for support]
        [running]    com.backblaze.bzbmenu.plist [Click for support]
        [loaded]    com.divx.agent.postinstall.plist [Click for support]
        [running]    com.ecamm.printopia.plist [Click for support]
        [running]    ws.agile.1PasswordAgent.plist [Click for support]
    User Login Items: ℹ️
        Dropbox    Application Hidden (/Applications/Dropbox.app)
        Fantastical    Application Hidden (/Applications/Fantastical.app)
        TextExpander    Application Hidden (/Applications/TextExpander.app)
        HazelHelper    Application Hidden (/Users/[redacted]/Library/PreferencePanes/Hazel.prefPane/Contents/MacOS/HazelH elper.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Google Earth Web Plug-in: Version: 6.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.3.1.3   - SDK 10.8 [Click for support]
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        npP3Remote: Version: 0.3 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 2.2 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        iPhotoPhotocast: Version: 7.0
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
    User internet Plug-ins: ℹ️
        BrowserPlus_2.9.8: Version: 2.9.8 [Click for support]
        CitrixOnlineWebDeploymentPlugin: Version: 1.0 [Click for support]
        WebEx64: Version: 1.0 - SDK 10.5 [Click for support]
    Safari Extensions: ℹ️
        1Password
        FastestTube
        DivX Plus Web Player HTML5 <video>
        Open in Internet Explorer
    3rd Party Preference Panes: ℹ️
        Akamai NetSession Preferences  [Click for support]
        Backblaze Backup  [Click for support]
        BrowserPlus  [Click for support]
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Hazel  [Click for support]
        Logitech Control Center  [Click for support]
        MacFUSE  [Click for support]
        Printopia  [Click for support]
        Xmarks for Safari  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: ON
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 748.93 GB Disk used: 672.78 GB
        Destinations:
            Time Machine [Local]
            Total size: 999.85 GB
            Total number of backups: 49
            Oldest backup: 2014-10-30 20:23:53 +0000
            Last backup: 2015-02-26 13:07:38 +0000
            Size of backup disk: Too small
                Backup size 999.85 GB < (Disk used 672.78 GB X 3)
    Top Processes by CPU: ℹ️
            32%    Finder
            25%    Console
            14%    WindowServer
             4%    NotificationCenter
             3%    hazelworker
    Top Processes by Memory: ℹ️
        395 MB    bztransmit
        186 MB    Finder
        146 MB    Console
        146 MB    WindowServer
        129 MB    mds_stores
    Virtual Memory Information: ℹ️
        1.51 GB    Free RAM
        4.26 GB    Active RAM
        1.38 GB    Inactive RAM
        1.44 GB    Wired RAM
        21.08 GB    Page-ins
        3 MB    Page-outs
    Diagnostics Information: ℹ️
        Feb 27, 2015, 02:36:10 PM    Self test - passed
        Feb 27, 2015, 02:13:40 PM    /Library/Logs/DiagnosticReports/Memory Clean_2015-02-27-141340_[redacted].cpu_resource.diag [Click for details]
        Feb 27, 2015, 01:49:15 PM    /Library/Logs/DiagnosticReports/WindowServer_2015-02-27-134915_[redacted].cpu_r esource.diag [Click for details]
        Feb 27, 2015, 09:46:13 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/helpd_2015-02-27-094613_[redac ted].crash

  • Issue with turning on project 2010 / 2013 - "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."

    I get the following error after the installation and configuration window of MS Project: "There is not enough memory to complete the operation. To free up available memory, close programs, projects, or windows you aren't using, and then try again."
    It happens both with MS Project 2010 and 2013 on a Windows 7 desktop. 
    I tried installing / uninstalling Office 2010, MS Project, tried installing 32 and then 64 bit versions, clean up, disk error checker, startup changes (msconfig), anti virus, running as Windows 7 and then Windows XP compatible mode. 
    Nothing helps. I see this issue reported as early as 2007 version of MS projects on Microsoft forums, but I do not see any solution anywhere. Any suggestions on how to fix the issue without having to reformat hard drive? Every other application, including
    all other Office programs work seamlessly. 
    I also tried Microsoft support, after an hour and a half of basically doing what I did before, I was told I have to pay 99$ for "premium" support, so someone can look at this bug. 
    I have 16 Gb RAM and more than 200Gb or hard drive free, so actual memory is not the problem. 

    This issue was originally reported with MS Project 2007 and keeps popping up since.
    A quick Google search provides more than 200K pages of results of this issue:
    https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren't+using%2C+and+then+try+again.
    And 193K results on Bing:
    http://www.bing.com/search?q=There+is+not+enough+memory+to+complete+the+operation.+To+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&go=Submit&qs=n&form=QBLH&pq=there+is+not+enough+memory+to+complete+the+operation.+to+free+up+available+memory%2C+close+programs%2C+projects%2C+or+windows+you+aren%27t+using%2C+and+then+try+again.&sc=0-0&sp=-1&sk=&cvid=4cb023c1fbd94ec2bba9821b095f21f2
    Computer was defragged already. I run more tests, and specifically when MS Projects tries to run, it tries to take all memory, more than 300Gb, on the computer. (DropBox was running at the same time, and warned that there were no space. As soon as MS Project
    stopped attempting to configure itself, everything came back to normal and the available space became available again.)
    Looking through older forum posts, looks like this application tries to take "unlimited" amount of memory. Some registry fixes are mentioned potentially, but I was not able to apply them. 
    Since everything else works, this is a MS Project bug reported by multiple users on various versions of Windows, including Vista and 7, so please provide a fix and not 'not a know bug' lie. All the premium support will say, is to format the hard drive, unless
    they have a patch or a registry edit solution. If the latter is true, since the issue exists for multiple years, it should have been already been provided to users.
    Also, I am not running a SQL server, or any server, this is an installation on a local machine. 

Maybe you are looking for

  • Transferring Music and Photo Files from Mac OS 10.5 to iOS 6.0

    Hello, I recently purchased an iPad 4 that runs iOS 6.0. I would like to transfer my music and photo libraries from my iMac that runs OS 10.5.8 ((Leopard). My iMac is network wirelessly on my LAN along with an iBook, printers, and a PC. I understand

  • How to display Quantity fields in Table control

    Hi, I need to display quantity fields in my table control based on the resb-meins field. i.e. I need a feature similar  to qname of ALV Grid Control in Table control. Can any body help me. Regards, Srinivas

  • What version of Oracle JDBC driver

    I need to know the version of the Oracle JDBC driver to use. I am using JDK version1.2, Oracle version8.0.5.

  • Too many computers not enough answers

    Hi, I have a MacBook Pro at home and I use a Dell computer running Windows XP Pro. I have a 6th generation iPod classic. I usually listen to at work. Last Friday I took the iPod home and my son accidently turned it off while I was watching a movie. L

  • VIP in Intermediate state after relocate

    11.2.0.2.0 windows 2008 2 node RAC Rolling patch. Brought down and relocated all services to node 2. All services start ok except for node 1 VIP which goes to intermediate and FAILED OVER state. C:\Windows\system32>crsctl status resource -t ora.rac01