Re: managed pool question



You might get out-of-memory errors (based on HW video memory and AGP size).
Or in the best case, you'll face some stutters when requesting managed but
unloaded resources.

Wessam Bahnassi
Microsoft DirectX MVP,
Lead Programmer
In|Framez

"john" <jdlee12@xxxxxxxx> wrote in message
news:Oxw%23QoFpFHA.1044@xxxxxxxxxxxxxxxxxxxxxxx
>I want to load very huge amount of textures and vertices
> into memory using CreateTextureFromFileEx and CreateVertexBuffer .
>
> I will use managed mode setting .
> and I will load it all at once in loading time.
>
> the amount of resources that will be loaded all at once is
>
> vertices = about 100 MBytes.
> textures = dds format dxt1 or dxt3 about 100 MBytes.
>
> I will load total 300 MBytes in managed memory pool.
>
> and I will render objects [most of them are object meshes]
> only visible things using frustum culling.
>
> so , the amount of drawing resources at each frame is not too large.
>
>
> my question is
> if I do it like above, what problem will be happened ?
>
> no problem happen ?
>
> or some serious problem that I don't know happen ?
>
> % my target PC spec is 256 M RAM, 1.2 GHz CPU, Geforce 4 MX 400 AGP 8x 64
> M
> Vid Mem
> hard disk storage 40Gb.
>
>
>
>
>
>


.



Relevant Pages

  • RE: After opening so many programs, cannot open more
    ... Have you checked your resources when you are unable to ... manager on task manager go to the performance tab and see how much free ... memory and cpu you have. ... amount of virtual memory you have assigned to do so. ...
    (microsoft.public.windowsxp.general)
  • Re: RFC: x86: relocatable kernel changes (revised spec)
    ... This field indicates the amount of linear contiguous memory starting ... kernel needs before it is capable of examining its memory map. ... select a safe load address for the kernel. ...
    (Linux-Kernel)
  • Re: memory leak in asp 2.0
    ... Almost certainly the problem is in storing large amount of data in session ... I expected that it will get some amount of memory, ... I call each time 'Page unload' when I load new page but never when I close ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Q: Unlock resources (How to?)
    ... >I wonder if you could enlighten me on this: it used to be possible to load ... >use a lot or resources and they're not of a trivial size. ... >don't need them locked forever. ... Locking them does not force them to remain in main memory. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: size of huge memory
    ... > we expand the memory size to load huge amount of data? ...
    (comp.lang.c)