Click here to Skip to main content
15,887,350 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When u copy something in clipboard where does it go: Memory or Virtual RAM?
How much is the size of clipboard in Windows? Is it different from Linux or Macintosh OSs?
How do we increase the size of clipboard in Windows?
Posted
Updated 30-Sep-13 10:28am
v2
Comments
RedDk 30-Sep-13 16:53pm    
Two MS solutions that might be of interest:
"Clipboard Spy Sample" -> http://msdn.microsoft.com/en-us/library/ms771509(v=vs.85).aspx
"Clipboard Viewer Sample" -> http://msdn.microsoft.com/en-us/library/bb295242(v=vs.85).aspx
Step through these VS loaded codeblocks and you're guaranteed to uncover methods and reasons ...

1 solution

Virtual RAM (or more specifically, the page file) is a place on disk that is created to place memory items on that are not frequently used or are too big to fit into physical memory.

At least on Windows, I'm not sure there is a physical limit aside from available memory to store clipboard items. If you are putting something on the clipboard that big anyway, its not the proper use for the clipboard. The clipboard is only meant to be a user-interactive method for transferring data between applications, not for moving huge amounts of data around, depending on the data, there are other tools for that.

The "clipboard" works differently in different applications. For example, in Windows Explorer, pressing CTRL-C/Z on a file does not place the entire file in memory, just a reference to it.

You do not increase the size of the clipboard in windows, and I don't think you can do it in Linux (very UI platform dependent by the way) or on Apple.

What are you trying to do exactly, because it seems that the clipboard is not the right solution...
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 30-Sep-13 21:54pm    
5ed.

I'll rephrase the last sentence:
Sajad, the problem is that you did not share with us your ultimate goal. If seems that your question is based on some idea you have been preoccupied with, and it may so happen that this idea is wrong or not very fruitful. So sharing your ultimate goal is always a good idea: it would give people a change to suggest you some good alternatives.

—SA
Ron Beyer 30-Sep-13 22:52pm    
Thanks Sergey, its often that we are stuck trying to fit a square peg in a round hole without realizing that there are indeed square holes we aren't aware of :)
Sergey Alexandrovich Kryukov 30-Sep-13 23:08pm    
...without realizing that there are round pegs we aren't aware of, to fit in a square hole. :-)
—SA
sajad abbasi 1-Oct-13 11:59am    
I know that the Windows clipboard (where the files will be copied.) Which is part of the system?
sajad abbasi 1-Oct-13 12:01pm    
The question is not very specific.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900