Search Result

Collapse
27 results in 0.0040 seconds.
Keywords
Members
Tags
memory
  •  

  • DDR3 1333 MHz or 1600 MHz with Intel i5 2400 3.10 gHz CPU

    I am buying a new Desktop and I have the options of some upgrades. One of the upgrades is memory and I have the option of upgrading from DDR3 1333 MHz to 1600 MHz.

    It has been suggested to me that I need this upgrade with this CPU and I was wondering if anyone can advise me.

    Mary
    See more | Go to post

  • While executing PHP scripts, in which segment of Memory, variables are stored?

    Iam new to PHP, I have experience in C/C++. I have the following doubt:

    In C or C++ 1) function variables are stored on stack. 2) Global and Static variables are stored on data segment(.bss segment). 3) Register variables are stored in Register 4) program instructions get stored in code segment 5) The memory created dynamically are stored in Heap.

    What i want to know is, does above mentioned points are true also for "PHP"....
    See more | Go to post
    Last edited by vvtt; May 16 '11, 09:02 PM. Reason: Sentence rearranged

  • Andrei Pavel
    started a topic Allocating memory to structure.
    in C

    Allocating memory to structure.

    Hello! It's my first post and my First time browsing this forum.

    I am doing a piece of homework for about a week. I'm having problems allocating memory for a structure. Segmentation fault is the error. Code from example is missing. Here are the relevant parts:

    Code:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    
    struct file{
    	char *name;
    	int
    ...
    See more | Go to post

  • How to manage memory problems to see more than 500KB in just one field in the screen?

    I have made a small application in Acces that nowadays is more than 70Mb big.
    In a function of the software, I have to transform a lot of records in just one text that has more than 500KB. The reason for viewing such information is that it is a history acumulated from some years and some times must be analysed at once.
    I can put everything togheter in the record, but when I try to see the content in the screen, I get a message "Out...
    See more | Go to post
    Last edited by Ricardo de Mila; Jan 31 '11, 03:16 AM. Reason: Adding new information to make it clearer.

  • mysticwater
    started a topic How does new know how much memory to allocate??
    in C

    How does new know how much memory to allocate??

    Hi,
    I was just wondering how the new operator (in C++) knows how much memory to allocate when creating an object of a class such as shown below:

    i.e

    class Books
    {
    ...
    }

    int main()
    {
    ....
    Books textbook = new Books();
    ....
    }

    I have a stronger C background and I know that in C we have to specify the memory size for...
    See more | Go to post

  • msjonathan
    started a topic Is it smart to call gc.Collect()?

    Is it smart to call gc.Collect()?

    Hej,

    We 're working on an application that displays a lot of data, we have some problems with the memory usage (displaying data in grid, see some linked data, ...) when closing the grid the memory usage does not drop, but when we call the Garbage collector in the disposed event. The memory drops phenomenal.

    this is code we execute.
    Code:
    [DllImportAttribute("kernel32.dll", EntryPoint = "SetProcessWorkingSetSize",
    ...
    See more | Go to post

  • Is ((char **) &var_name); a cast to char array giving existing pointer to var_name?

    I am currently reading/learning c. I often like to look at code while I read, - to see more practical use then often are feasible in educational books.

    I am looking at some code from wget.

    Code extracted from wget.
    Code:
    /* file: mswindows.c */
    void
    windows_main (char **exec_name)
    {
      char *p;
    
      /* Remove .EXE from filename if it has one.  */
      *exec_name = xstrdup
    ...
    See more | Go to post
    Last edited by Rizladonovich; Sep 19 '10, 04:30 AM. Reason: added code for xstrdup, changed title

  • fekioh
    started a topic how to release memory?

    how to release memory?

    I am new in Python. I wrote a program that reads-in large text files using xreadlines, stores some values in lists (and arrays) and does some calculations. It runs fine for individual files, but when I try to consecutively process files from a folder, I get a memory error.

    my program looks like this:
    Code:
    data = fileName.xreadlines()
    for line in data:
       tokens = line.split(';')
       list1.append(tokens[2])
    ...
    See more | Go to post
    Last edited by bvdet; Aug 7 '10, 01:42 PM. Reason: Add code tags

  • Why is the gap between an address of a file pointer, to the one after it, is only 32

    #include<stdio. h>
    char garb;
    FILE *f ,*g;

    int main(){
    f=fopen("try1.t xt","wt");
    g=fopen("try2.t xt","wt");

    printf("f is equal to %ld\n",f);
    //the result is 2009464032

    printf("g is equal to %ld\n",g);
    //the result is 2009464064

    //I...
    See more | Go to post

  • how does an optimizing c++ compiler reuse stack slots of a function?

    How does an optimizing c++ compiler determine when a stack slot of a function(part of stack frame of a function) is no longer needed by that function, so it can reuse its memory? .
    By stack slot I mean a part of stack frame of a function, not necessarily a whole stack frame of a function and an example to clarify the matter is, suppose we have a function that has six integer variables defined in its scope, when it's time to use sixth variable...
    See more | Go to post

  • livesinabox
    started a topic Trouble understanding "Double" Pointers.
    in C

    Trouble understanding "Double" Pointers.

    I am a student and I am having trouble understanding Dynamic Memory Allocation and the usage of Double Pointers.

    Code:
    int **A
    
    A=(int **)malloc(r1*(sizeof(int*)));
    
    for(i=0;i<r1;i++)
    A[i]=(int *)malloc(sizeof(int)*c1)
    In the above snippet r1 and c1 refer to the number of rows and columns of a matrix A.

    My question : What does the malloc function do here? I know malloc()...
    See more | Go to post
    Last edited by Banfa; May 28 '10, 09:20 AM. Reason: Use this slash / for closing tags :-)

  • Use windbg to track reason for Attempted to read or write protected memory

    I have a Class which has intPtr to bitmap data.

    I am greating a Bitmap instance using
    Code:
    new Bitmap(my_width, imageHeader.biHeight, stride, pixelFormat, pixelDataHandle);
    later i flip the bitmap with RotateFlip(Rota teFlipType.Rota teNoneFlipY);

    Now, everything seems to work fine for some time.
    When i ask class for Bitmap it always creates new one which is later disposed.

    I came across a situation...
    See more | Go to post

  • Where are VBA Public variables values stored on a Server

    I have an Access database on a Server which is accessed by several users via Remote Desktop. In the VBA code there are several values stored in Public Variables. I am wondering if each user who opens the database has it's own memory space on the server so that they do not overwrite the Public variables from another user? Does anyone know how Public variable data is stored in this situation?
    See more | Go to post

  • Yene
    started a topic Java garbage collection
    in Java

    Java garbage collection

    What is the disadvantage of having each java object with its own garbage collection function/object? For example if an object is not referred by anything in the application the object will remove itself from the memory/ heap. In theory if the object is not wanted or used by anything in the application it will clear itself from memory. Is this possible?
    See more | Go to post

  • Shouldn't all memory be freed after a page load?

    Sporadically, I am receiving "out of memory" errors on my websites. In my performance monitor (Debug Diagnostic Tool), I can watch virtual bytes skyrocket until it causes an "out of memory" error on my website.

    What could be causing this? Even if I have piss-poor code with plenty of unclosed, un-nothing'ed objects, shouldn't the memory be freed after the page is served to the user? That is, nothing should be...
    See more | Go to post
Working...