How best to profile memory usage over time for SQL server instance memory allocation?

I have SQL 2008 and SQL 2012 on Server 2008/2012 VMs. I'm a relative SQL novice. I'm looking to profile memory usage over time per instance to better apply memory to my VMs. I'm thinking weeks at a time would be optimum, but i'll take what i can get. I'd prefer built-in tools - but i'm NOT looking for Activity Monitor/what usage i have at a particular moment - i want to profile over time so i can better apply mem needed, and not overuse my memory allocation.

Don't wanna buy anything, prefer built-in and open to freeware, but prefer built-in. Thanks!
Jody DavisSystems EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
I would suggest you to start looking at Perfmon counters to track the Memory usage of your SQL Server.
More info below:

To answer your question, you can monitor Memory Object: Available Bytes to meet your requirement..
Jody DavisSystems EngineerAuthor Commented:
Thanks, that's a great start. Could i bother you for a site that would walk me through the creation of the profiling?
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
Sure, this would be a good start..
Instead of the perfmon counters mentioned in this link, just use the Memory Object: Available Bytes: under SQL Server to capture the Available Memory, save it to the collector set as mentioned and then do your analysis..

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Jody DavisSystems EngineerAuthor Commented:
Very helpful.
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
Thanks, glad to assist..
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.